Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-458

numberofKeys is 0 for all containers even when keys are present

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.2.1
    • None
    • SCM Client

    Description

       

      numberofKeys field is 0 for all containers even when keys are present

       

      [root@ctr-e138-1518143905142-459606-01-000005 bin]# ./ozone scmcli list --count=40 --start=1 | grep numberOfKeys
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,
       "numberOfKeys" : 0,

       

       

       

      [root@ctr-e138-1518143905142-459606-01-000005 bin]# ./ozone oz key list /fs-volume/fs-bucket/ | grep keyName
      2018-09-13 19:10:33,502 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
       "keyName" : "15GBFILE"
       "keyName" : "15GBFILE1"
       "keyName" : "1GB1"
       "keyName" : "1GB10"
       "keyName" : "1GB11"
       "keyName" : "1GB12"
       "keyName" : "1GB13"
       "keyName" : "1GB14"
       "keyName" : "1GB15"
       "keyName" : "1GB2"
       "keyName" : "1GB3"
       "keyName" : "1GB4"
       "keyName" : "1GB5"
       "keyName" : "1GB6"
       "keyName" : "1GB7"
       "keyName" : "1GB8"
       "keyName" : "1GB9"
       "keyName" : "1GBsecond1"
       "keyName" : "1GBsecond10"
       "keyName" : "1GBsecond11"
       "keyName" : "1GBsecond12"
       "keyName" : "1GBsecond13"
       "keyName" : "1GBsecond14"
       "keyName" : "1GBsecond15"
       "keyName" : "1GBsecond2"
       "keyName" : "1GBsecond3"
       "keyName" : "1GBsecond4"
       "keyName" : "1GBsecond5"
       "keyName" : "1GBsecond6"
       "keyName" : "1GBsecond7"
       "keyName" : "1GBsecond8"
       "keyName" : "1GBsecond9"
       "keyName" : "2GBFILE"
       "keyName" : "2GBFILE2"
       "keyName" : "50GBFILE2"
       "keyName" : "passwd1"

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            GeLiXin LiXin Ge
            nilotpalnandi Nilotpal Nandi
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment