Przeglądaj źródła

HDDS-931. Add documentation for ozone shell command providing ozone mapping for a S3Bucket.
Contributed by Bharat Viswanadham.

Anu Engineer 6 lat temu
rodzic
commit
0f26b5efaa
1 zmienionych plików z 9 dodań i 0 usunięć
  1. 9 0
      hadoop-hdds/docs/content/BucketCommands.md

+ 9 - 0
hadoop-hdds/docs/content/BucketCommands.md

@@ -118,5 +118,14 @@ ozone sh bucket update --addAcl=user:bilbo:rw /hive/jan
 
 The above command gives user bilbo read/write permission to the bucket.
 
+### path
+The bucket command to provide ozone mapping for s3 bucket(Created via aws cli)
+
+{{< highlight bash >}}
+ozone sh bucket path <<s3Bucket>>
+{{< /highlight >}}
+
+The above command will print VolumeName and the mapping created for s3Bucket.
+
 You can try out these commands from the docker instance of the [Alpha
 Cluster](runningviadocker.html).