Our company is migrating from s3 to GCS. While the command-line utility gsutil
works fine, I am facing difficulty in configuring Hadoop (core-site.xml) to enable access to GCS. This google page https://storage.googleapis.com/hadoop-conf/gcs-core-default.xml lists the name-value pairs that need to be added, but I don't find any of these in the ~/.boto file. The .boto file only has the following set:
gs_oauth2_refresh_token
under [Credentials]- default_project_id under [GSUtil]
- Few others like api_version etc.. The [OAuth2] section is empty.
Can I somehow generate the necessary keys using gs_oauth2_refresh_token
and add them to Hadoop config? Or can I get these from any other gsutil
config files?