bshashikant commented on a change in pull request #684: HDDS-3134. Debug Tool 
that gives chunk location information given a key.
URL: https://github.com/apache/hadoop-ozone/pull/684#discussion_r403980693
 
 

 ##########
 File path: hadoop-ozone/dist/src/main/smoketest/basic/ozone-shell.robot
 ##########
 @@ -116,13 +117,16 @@ Test key handling
                     Execute             ls -l /tmp/NOTICE.txt.1
     ${result} =     Execute             ozone sh key info 
${protocol}${server}/${volume}/bb1/key1 | jq -r '. | select(.name=="key1")'
                     Should contain      ${result}       creationTime
+    ${result} =     Execute             ozone debug chunkinfo 
${protocol}${server}/${volume}/bb1/key1 | jq  '.[]'
+                    Should contain      ${result}       chunks
     ${result} =     Execute             ozone sh key list 
${protocol}${server}/${volume}/bb1 | jq -r '. | select(.name=="key1") | .name'
                     Should Be Equal     ${result}       key1
                     Execute             ozone sh key rename 
${protocol}${server}/${volume}/bb1 key1 key2
     ${result} =     Execute             ozone sh key list 
${protocol}${server}/${volume}/bb1 | jq -r '.name'
                     Should Be Equal     ${result}       key2
                     Execute             ozone sh key delete 
${protocol}${server}/${volume}/bb1/key2
 
 Review comment:
   unwanted empty line

----------------------------------------------------------------
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]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to