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

scmcli reports incorrect details

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.5.0
    • None
    • Tools
    • None

    Description

      Reported by xyao

       

      ozone scmcli container list seems report incorrect numberOfKeys and
      usedBytes
      Also, container owner is set as the current leader om(om3), should we use
      the om service id here instead?
      bash-4.2$ ozone scmcli container list
      {
        "state" : "OPEN",
        "replicationFactor" : "THREE",
        "replicationType" : "RATIS",
        "usedBytes" : 3813,
        "numberOfKeys" : 1,
      ...
      bash-4.2$ ozone sh key list o3://id1/vol1/bucket1/

      {   "volumeName" : "vol1",   "bucketName" : "bucket1",   "name" : "k1",   "dataSize" : 3813,   "creationTime" : "2020-03-23T03:23:30.670Z",   "modificationTime" : "2020-03-23T03:23:33.207Z",   "replicationType" : "RATIS",   "replicationFactor" : 3 } {   "volumeName" : "vol1",   "bucketName" : "bucket1",   "name" : "k2",   "dataSize" : 3813,   "creationTime" : "2020-03-23T03:18:46.735Z",   "modificationTime" : "2020-03-23T03:20:15.005Z",   "replicationType" : "RATIS",   "replicationFactor" : 3 }

      Attachments

        Activity

          People

            Unassigned Unassigned
            dineshchitlangia Dinesh Chitlangia
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: