Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.18.0
    • Fix Version/s: 0.19.1
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When using fully qualified URIs with FsShell, the authority element of the URI must match the default filesystem exactly, or else one may get an error message when the trash is enabled:

      $ hadoop fs -rmr hdfs://namenode1/user/foo/bar
      rmr: Wrong FS: hdfs://namenode1/user/foo/bar, expected: hdfs://namenode1.foobar.com
      Usage: java FsShell [-rmr <path>]
      $ hadoop fs -rmr hdfs://namenode1.foobar.com/user/foo/bar
      $
      

      It should be possible to use the FileSystem for the Path provided rather than the default FileSystem. 0.17 was less particular about this.

      1. 5086-0.patch
        5 kB
        Chris Douglas
      2. 5086-1.patch
        23 kB
        Chris Douglas

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Chris Douglas
            Reporter:
            Chris Douglas
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development