hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Maheshwari (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDDS-290) putKey is failing with KEY_ALLOCATION_ERROR
Date Tue, 24 Jul 2018 18:57:00 GMT
Namit Maheshwari created HDDS-290:
-------------------------------------

             Summary: 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


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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message