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

Ozone fs shell command should work with default port when port number is not specified

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • None
    • Done

    Description

      Without port number -> Error
      $ ozone fs -ls o3fs://bucket.volume.localhost/
      -ls: Ozone file system url should be either one of the two forms: o3fs://bucket.volume/key  OR o3fs://bucket.volume.om-host.example.com:5678/key
      ...
      
      With port number -> Success
      $ ozone fs -ls o3fs://bucket.volume.localhost:9862/
      Found 1 items
      -rw-rw-rw-   1 hadoop hadoop       1485 2019-08-01 21:14 o3fs://bucket.volume.localhost:9862/README.txt
      

      We expect the first command to attempt port 9862 by default.

      Attachments

        Issue Links

          Activity

            People

              smeng Siyao Meng
              smeng Siyao Meng
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 40m
                  3h 40m