-
Notifications
You must be signed in to change notification settings - Fork 603
Updating google cloud nio to 0.107.0 #6042
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
lbergelson
commented
Jul 16, 2019
- Updating google-cloud-nio 0.81.0-alpha:shaded -> 0.100.0-alpha:shaded
- Fixes Strange behavior in ParallelCopyGCSDirectoryIntoHDFSSpark with NIO ver > 0.66 #5935
@SHuang-Broad Lets see if it passes tests... |
Hmn. This is failing with 403 unauthorized errors. Seems like something about authentication changed. |
you mean tests? |
Yeah, the cloud tests are all failing. |
@lbergelson #!/bin/bash
set -eu
echo "=============================="
export CRAM_BUCKET="gs://broad-dsde-methods-shuang/tmp/test/"
gsutil ls -l -h "${CRAM_BUCKET}"
echo "=============================="
# on Louis branch containing NIO 100
echo "=============================="
export GATK_DIR="/Users/shuang/GATK/gatk"
export CLUSTER_NAME="shuang-nio-100"
cd "${GATK_DIR}" && git pull && git checkout lb_update_nio && \
./gradlew clean installAll && \
cd scripts/sv/ && \
bash create_cluster.sh \
"${GATK_DIR}" \
broad-dsde-methods \
"${CLUSTER_NAME}" \
3h \
120m \
gs://broad-dsde-methods-sv/reference/GRCh38/ \
"${CRAM_BUCKET}" \
gs://broad-dsde-methods-shuang/init/default_init.sh
echo "=============================="
# on master (expected to fail)
echo "=============================="
export GATK_DIR="/Users/shuang/GATK/forks/GatkFork"
export CLUSTER_NAME="shuang-nio-81"
cd "${GATK_DIR}" && git checkout master && git fetch upstream && git rebase upstream/master && \
./gradlew clean installAll && \
cd scripts/sv/ && \
bash create_cluster.sh \
"${GATK_DIR}" \
broad-dsde-methods \
"${CLUSTER_NAME}" \
3h \
120m \
gs://broad-dsde-methods-sv/reference/GRCh38/ \
"${CRAM_BUCKET}" \
gs://broad-dsde-methods-shuang/init/default_init.sh
echo "==============================" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
tested running fine on actual dataproc clusters.
We're seeing a lot of failures of the form:
It looks like it now requires some new permission for the service accounts but our existing service account doesn't have that permission. |
@SHuang-Broad Thanks, that's good to know that it actually fixes the problem you're having... I think we need to investigate this error a bit more though before we can merge. |
Ha? That's strange. |
No... it's not. It doesn't seem to correspond to any broad project I can see. |
@lbergelson I did an experiment in #6046 with NIO 94, same errors. |
I've run a few more tests, and found the following table
Googling both of the two mysterious project IDs, I landed onto tests by this Fiji project (here and here).
In the meantime, I've also found this site for ID Not sure if these info are useful for you guys (who know much more about this than I do) to debug the issue. |
Codecov Report
@@ Coverage Diff @@
## master #6042 +/- ##
==========================================
Coverage ? 87.013%
Complexity ? 32636
==========================================
Files ? 2011
Lines ? 150967
Branches ? 16134
==========================================
Hits ? 131361
Misses ? 14021
Partials ? 5585 |
I finally opened an issue with google cloud to look into this... https://github.com/googleapis/google-cloud-java/issues/5884 |
500f9db
to
9409933
Compare
build.gradle
Outdated
@@ -69,7 +69,7 @@ final testNGVersion = '6.11' | |||
// Using the shaded version to avoid conflicts between its protobuf dependency | |||
// and that of Hadoop/Spark (either the one we reference explicitly, or the one | |||
// provided by dataproc). | |||
final googleCloudNioDependency = 'com.google.cloud:google-cloud-nio:0.81.0-alpha:shaded' | |||
final googleCloudNioDependency = 'com.google.cloud:google-cloud-nio:0.106.0-alpha:shaded' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.107.0
is now out, so might as well update to that. 0.105.0
included the shading fix we needed to add a BigQuery dependency in master.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, that happened in the last day I guess... will update. We're going to need a picard update before this will work though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like we have a nasty bug where we are using the shaded version but also including the non-shaded versions transitive dependencies. Resolving that might help with bigquery too.
cf06772
to
c7654f1
Compare
@lbergelson As discussed, it's not essential that we update to 107. I'd be happy with either 105 or 106, since the shading fix was released in 105. |
build.gradle
Outdated
@@ -59,7 +59,7 @@ repositories { | |||
|
|||
final requiredJavaVersion = "8" | |||
final htsjdkVersion = System.getProperty('htsjdk.version','2.20.3') | |||
final picardVersion = System.getProperty('picard.version','2.20.5') | |||
final picardVersion = System.getProperty('picard.version','2.20.6-5-g1b4178f-SNAPSHOT') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update to actual released version of Picard
* Updating google-cloud-nio 0.81.0-alpha:shaded -> 0.100.0-alpha:shaded * Fixes #5935
We were importing the transitive dependencies of the shaded version, which I don't think we should be doing.
76cc1e3
to
03f8070
Compare