Nilotpal Nandi created HDDS-315: ----------------------------------- Summary: ozoneShell infoKey does not work for directories created as key and throws 'KEY_NOT_FOUND' error Key: HDDS-315 URL: https://issues.apache.org/jira/browse/HDDS-315 Project: Hadoop Distributed Data Store Issue Type: Bug Reporter: Nilotpal Nandi Fix For: 0.2.1
infoKey for directories created using ozoneFs does not work and throws 'KEY_NOT_FOUND' error. However, it shows up in the 'listKey' command. Here in this example, 'dir1' was created using ozoneFS , infoKey for the directory throws error. {noformat} hadoop@08315aa4b367:~/bin./ozone oz -infoKey /root-volume/root-bucket/dir1 2018-08-02 11:34:06 WARN NativeCodeLoader:60 - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Command Failed : Lookup key failed, error:KEY_NOT_FOUND hadoop@08315aa4b367:~/bin$ ./ozone oz -infoKey /root-volume/root-bucket/dir1/ 2018-08-02 11:34:16 WARN NativeCodeLoader:60 - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Command Failed : Lookup key failed, error:KEY_NOT_FOUND hadoop@08315aa4b367:~/bin$ ./ozone oz -listKey /root-volume/root-bucket/ 2018-08-02 11:34:21 WARN NativeCodeLoader:60 - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable [ { "version" : 0, "md5hash" : null, "createdOn" : "Wed, 07 May +50555 12:44:16 GMT", "modifiedOn" : "Wed, 07 May +50555 12:44:30 GMT", "size" : 0, "keyName" : "dir1/" }, { "version" : 0, "md5hash" : null, "createdOn" : "Wed, 07 May +50555 14:14:06 GMT", "modifiedOn" : "Wed, 07 May +50555 14:14:19 GMT", "size" : 0, "keyName" : "dir2/" }, { "version" : 0, "md5hash" : null, "createdOn" : "Thu, 08 May +50555 21:40:55 GMT", "modifiedOn" : "Thu, 08 May +50555 21:40:59 GMT", "size" : 0, "keyName" : "dir2/b1/"{noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org