Skip to content
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

Project ID for hadoop2 cannot be determined #7

Open
chris31417 opened this issue Mar 14, 2018 · 0 comments
Open

Project ID for hadoop2 cannot be determined #7

chris31417 opened this issue Mar 14, 2018 · 0 comments

Comments

@chris31417
Copy link

I am using an existing GCS account and have set GOOGLE_APPLICATION_CREDENTIALS. I have created a gcs bucket and enabled access for it. However I get the following persistent error when running the program on ubuntu 16.04.

./bin/pg2bq -Dconfig.file=configuration.conf
2018-03-14 18:21:01,557 [main] WARN org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
2018-03-14 18:21:01,675 [main] WARN org.apache.spark.util.Utils - Your hostname, PitStopIdeaPad resolves to a loopback address: 127.0.1.1; using 192.168.1.105 instead (on interface wlp8s0)
2018-03-14 18:21:01,676 [main] WARN org.apache.spark.util.Utils - Set SPARK_LOCAL_IP if you need to bind to another address
2018-03-14 18:21:02,755 [main] INFO com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase - GHFS version: 1.6.1-hadoop2
Exception in thread "main" java.lang.IllegalArgumentException: A project ID is required for this service but could not be determined from the builder or the environment. Please set a project ID using the builder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant