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

ozone createVolume command ignores the first character of the volume name argument

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.2.1
    • None
    • None

    Description

      createVolume command ran to create volume "testvolume123".

      Volume created with name "estvolume123" instead of "testvolume123". It ignores the first character of the volume name

       

      [root@ozone-vm bin]# ./ozone oz -createVolume testvolume123 -user root
      2018-07-02 05:33:35,510 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
      2018-07-02 05:33:36,093 [main] INFO - Creating Volume: estvolume123, with root as owner and quota set to 1152921504606846976 bytes.
      
      

       

      ozone listVolume command :

       

      [root@ozone-vm bin]# ./ozone oz -listVolume /
      2018-07-02 05:36:47,835 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
      [ {
       "owner" : {
       "name" : "root"
       },
       "quota" : {
       "unit" : "TB",
       "size" : 1048576
       },
       "volumeName" : "nnvolume1",
       "createdOn" : "Sun, 18 Sep +50444 15:12:11 GMT",
       "createdBy" : "root"
      ..
      ..
      }, {
       "owner" : {
       "name" : "root"
       },
       "quota" : {
       "unit" : "TB",
       "size" : 1048576
       },
       "volumeName" : "estvolume123",
       "createdOn" : "Sat, 17 May +50470 08:01:41 GMT",
       "createdBy" : "root"
      } ]
      

       

       

      Attachments

        1. HDDS-208.002.patch
          3 kB
          Lokesh Jain
        2. HDDS-208.001.patch
          4 kB
          Lokesh Jain

        Activity

          People

            ljain Lokesh Jain
            nilotpalnandi Nilotpal Nandi
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: