[
https://issues.apache.org/jira/browse/HDDS-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16566795#comment-16566795
]
Nanda kumar commented on HDDS-290:
----------------------------------
Thanks [~xyao] for the contribution and [~nmaheshwari] for reporting this
issue. I have committed it to trunk
> putKey is failing with KEY_ALLOCATION_ERROR
> -------------------------------------------
>
> Key: HDDS-290
> URL: https://issues.apache.org/jira/browse/HDDS-290
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Namit Maheshwari
> Assignee: Xiaoyu Yao
> Priority: Major
> Fix For: 0.2.1
>
> Attachments: HDDS-290.00.patch
>
>
> 1. List the buckets in Volume /namit
> {code}
> hadoop@288c0999be17:~$ ozone oz -listBucket /namit
> 2018-07-24 18:53:26 WARN NativeCodeLoader:60 - Unable to load native-hadoop
> library for your platform... using builtin-java classes where applicable
> [ {
> "volumeName" : "namit",
> "bucketName" : "abc",
> "createdOn" : "Fri, 29 Jul +50529 22:02:39 GMT",
> "acls" : [ {
> "type" : "USER",
> "name" : "hadoop",
> "rights" : "READ_WRITE"
> }, {
> "type" : "GROUP",
> "name" : "users",
> "rights" : "READ_WRITE"
> } ],
> "versioning" : "DISABLED",
> "storageType" : "DISK"
> }, {
> "volumeName" : "namit",
> "bucketName" : "hjk",
> "createdOn" : "Sat, 30 Jul +50529 10:37:24 GMT",
> "acls" : [ {
> "type" : "USER",
> "name" : "hadoop",
> "rights" : "READ_WRITE"
> }, {
> "type" : "GROUP",
> "name" : "users",
> "rights" : "READ_WRITE"
> } ],
> "versioning" : "DISABLED",
> "storageType" : "DISK"
> } ]
> {code}
> 2. Now list the keys in bucket /namit/abc
> {code}
> hadoop@288c0999be17:~$ ozone oz -listKey /namit/abc
> 2018-07-24 18:53:56 WARN NativeCodeLoader:60 - Unable to load native-hadoop
> library for your platform... using builtin-java classes where applicable
> [ ]
> {code}
> 3. Now try to put a key to the bucket. It fails as below:
> {code}
> hadoop@288c0999be17:~$ cat aa
> hgfhjljkjhf
> hadoop@288c0999be17:~$ ozone oz -putKey /namit/abc/aa -file aa
> 2018-07-24 18:54:19 WARN NativeCodeLoader:60 - Unable to load native-hadoop
> library for your platform... using builtin-java classes where applicable
> Command Failed : Create key failed, error:KEY_ALLOCATION_ERROR
> hadoop@288c0999be17:~$
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]