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

OFS mkdir -p does not work when Volume is not pre-created.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0
    • OFS

    Description

      ozone fs -mkdir -p ofs://ozone1/tgtvol/tgtbuck/passwd
      
      21/05/27 17:57:12 DEBUG shell.Command: mkdir failure
      VOLUME_NOT_FOUND org.apache.hadoop.ozone.om.exceptions.OMException: Volume tgtvol is not found
      	at org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB.handleError(OzoneManagerProtocolClientSideTranslatorPB.java:604)
      	at org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB.getBucketInfo(OzoneManagerProtocolClientSideTranslatorPB.java:474)
      	at org.apache.hadoop.ozone.client.rpc.RpcClient.getBucketDetails(RpcClient.java:615)
      	at org.apache.hadoop.fs.ozone.BasicRootedOzoneClientAdapterImpl.getBucket(BasicRootedOzoneClientAdapterImpl.java:268)
      	at org.apache.hadoop.fs.ozone.BasicRootedOzoneClientAdapterImpl.getBucket(BasicRootedOzoneClientAdapterImpl.java:204)
      	at org.apache.hadoop.fs.ozone.BasicRootedOzoneClientAdapterImpl.createDirectory(BasicRootedOzoneClientAdapterImpl.java:420)
      	at org.apache.hadoop.fs.ozone.BasicRootedOzoneFileSystem.mkdir(BasicRootedOzoneFileSystem.java:711)
      	at org.apache.hadoop.fs.ozone.BasicRootedOzoneFileSystem.mkdirs(BasicRootedOzoneFileSystem.java:722)
      	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:2376)
      	at org.apache.hadoop.fs.shell.Mkdir.processNonexistentPath(Mkdir.java:87)
      

      Attachments

        Issue Links

          Activity

            People

              smeng Siyao Meng
              avijayan Aravindan Vijayan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: