Details

    Description

      # ozone sh volume info o3://ozone1/testquota
      {
        "metadata" : { },
        "name" : "testquota",
        "admin" : "cdpuser1",
        "owner" : "cdpuser1",
        "quotaInBytes" : 943718400,
        "quotaInNamespace" : 1000,
        "usedNamespace" : 4,
        "creationTime" : "2022-10-17T15:56:54.886Z",
        "modificationTime" : "2022-10-17T17:18:17.060Z",
        "acls" : [ {
          "type" : "USER",
          "name" : "cdpuser1",
          "aclScope" : "ACCESS",
          "aclList" : [ "ALL" ]
        }, {
          "type" : "GROUP",
          "name" : "cdpuser1",
          "aclScope" : "ACCESS",
          "aclList" : [ "ALL" ]
        } ],
        "refCount" : 0
      }
      
      # ozone sh bucket set-replication-config o3://ozone1/testquota/ec-bucket5 --type EC --replication rs-3-2-1024k
      QUOTA_ERROR Can not clear bucket spaceQuota because volume spaceQuota is not cleared.
      # ozone sh bucket create o3://ozone1/testquota/ec-bucket6 --layout=FILE_SYSTEM_OPTIMIZED
      22/10/17 18:47:53 INFO rpc.RpcClient: Creating Bucket: testquota/ec-bucket6, with the Bucket Layout FILE_SYSTEM_OPTIMIZED, cdpuser1 as owner, Versioning false, Storage Type set to DISK and Encryption set to false 
      # ozone sh bucket set-replication-config o3://ozone1/testquota/ec-bucket6 --type EC --replication rs-3-2-1024k
      QUOTA_ERROR Can not clear bucket spaceQuota because volume spaceQuota is not cleared.
      # ozone sh bucket create o3://ozone1/testquota/ec-bucket7 --layout=OBJECT_STORE
      22/10/17 18:48:38 INFO rpc.RpcClient: Creating Bucket: testquota/ec-bucket7, with the Bucket Layout OBJECT_STORE, cdpuser1 as owner, Versioning false, Storage Type set to DISK and Encryption set to false 
      # ozone sh bucket set-replication-config o3://ozone1/testquota/ec-bucket7 --type EC --replication rs-3-2-1024k
      QUOTA_ERROR Can not clear bucket spaceQuota because volume spaceQuota is not cleared. 
      # ozone fs -mkdir -p ofs://ozone1/testquota/ec-bucket8
      22/10/17 18:52:52 INFO rpc.RpcClient: Creating Bucket: testquota/ec-bucket8, with the Bucket Layout FILE_SYSTEM_OPTIMIZED, cdpuser1 as owner, Versioning false, Storage Type set to DISK and Encryption set to false 
      #  ozone sh bucket set-replication-config o3://ozone1/testquota/ec-bucket8 --type EC --replication rs-3-2-1024k
      QUOTA_ERROR Can not clear bucket spaceQuota because volume spaceQuota is not cleared.

       

       

      Attachments

        Issue Links

          Activity

            People

              sodonnell Stephen O'Donnell
              SaketaChalamchala Saketa Chalamchala
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: