Configuring Cloud Data Access
Also available as:

Test access to GCS

Test access to the Google Cloud Storage bucket by running a few commands from any cluster node.

  1. SSH to a cluster node and switch to the hdfs user by using sudo su hdfs.
  2. Test access to your GCS bucket by running a few commands. For example, you can use the command listed below (replace “mytestbucket” with the name of your bucket):
    hadoop fs -ls gs://my-test-bucket/

For more information about configuring the gs connector for HDP and working with data stored on GCS, refer to Cloud Data Access HDP documentation.