[
https://issues.apache.org/jira/browse/HDDS-315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16605252#comment-16605252
]
Dinesh Chitlangia commented on HDDS-315:
----------------------------------------
[~elek] - Thank you for committing the changes. I think it will be better to
address the rare corner case scenario you described, may be in 0.3. If you
agree with this, please feel free to open a Jira and assign it to me or advise
me to open a Jira as needed.
> 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
> Assignee: Dinesh Chitlangia
> Priority: Major
> Fix For: 0.2.1
>
> Attachments: HDDS-315.001.patch, HDDS-315.002.patch,
> HDDS-315.003.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]