Open nicolasblaye opened 6 years ago
@nicolasblaye I have the same issue with Spark 2.2.1 and gcs-connector 1.6.5-hadoop2.
When you said adding it to the dependencies resolved the issue, what did you mean? The dependency is already added in your build.sbt which you said reproduces the error.
@aakoshh I am talking about this deps google-cloud-storage
which is not on my example.
so com.google.cloud % google-cloud-storage % version
Maybe it was fixed, it's been a while
This solved my issue as well, I used bigquery4s_2 (https://github.com/seratch/bigquery4s) dependency to use non legacy sql and the error appeared , adding google-cloud-storage solved it (I am writing this down in case anyone else will have this issue, or knows what is the root cause).
Hi everyone,
I encountered a weird issue while trying your library. When saving the temp file to gcs, it called the storage api with a weird address: http://google.api.address/null.
I tried debugging through the code to find what was causing the problem and I did not find it, however I solved the issue accidentally.
I wanted to test creating a directory with the security account to see if it was a permission problem, so I added
google-cloud-storage
in my dependencies because I couldn't importimport com.google.cloud.storage.StorageOptions
, and this solved the issue...Is there a way to make this error more explicit? Is it a problem that is global to google and not this library?
Here is the build.sbt to reproduce the error
And the code
And here is the exception:
Cheers