dineshchitlangia commented on a change in pull request #967:
URL: https://github.com/apache/hadoop-ozone/pull/967#discussion_r430474598
##########
File path: hadoop-hdds/docs/content/shell/KeyCommands.md
##########
@@ -137,3 +138,19 @@ The `key rename` command changes the name of an existing
key in the specified bu
ozone sh key rename /hive/jan sales.orc new_name.orc
{{< /highlight >}}
The above command will rename _sales.orc_ to _new\_name.orc_ in the bucket
_/hive/jan_.
+
+### Cat
+
+The `key cat` command copies a specific Ozone key to standard output.
+
+***Params:***
+
+| Arguments | Comment |
+|--------------------------------|-----------------------------------------|
+| Uri | The name of the key in
**/volume/bucket/key** format.
+
+
+{{< highlight bash >}}
+ozone sh key cat /hive/jan/hello.txt
+{{< /highlight >}}
+Copies the file hello.txt from the _/hive/jan_ bucket to standard output.
Review comment:
```suggestion
Displays the contents of the key hello.txt from the _/hive/jan_ bucket to
standard output.
```
##########
File path: hadoop-hdds/docs/content/shell/KeyCommands.md
##########
@@ -137,3 +138,19 @@ The `key rename` command changes the name of an existing
key in the specified bu
ozone sh key rename /hive/jan sales.orc new_name.orc
{{< /highlight >}}
The above command will rename _sales.orc_ to _new\_name.orc_ in the bucket
_/hive/jan_.
+
+### Cat
+
+The `key cat` command copies a specific Ozone key to standard output.
Review comment:
```suggestion
The `key cat` command displays the contents a specific Ozone key to standard
output.
```
##########
File path: hadoop-hdds/docs/content/shell/KeyCommands.md
##########
@@ -137,3 +138,19 @@ The `key rename` command changes the name of an existing
key in the specified bu
ozone sh key rename /hive/jan sales.orc new_name.orc
{{< /highlight >}}
The above command will rename _sales.orc_ to _new\_name.orc_ in the bucket
_/hive/jan_.
+
+### Cat
+
+The `key cat` command displays the contents a specific Ozone key to standard
output.
Review comment:
```suggestion
The `key cat` command displays the contents of a specific Ozone key to
standard output.
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]