Skip to content

Project ID for hadoop2 cannot be determined  #7

@chris31417

Description

@chris31417

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions