Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6618

fs -ls does not work if a path name contains the ^ character

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • fs
    • None

    Description

      Using a wildcard, the file is found.

      -bash-3.1$ hadoop fs -ls k20d2f4/bin-2\?04+1_AF650AE776488A4D
      Found 1 items
      -rw-------   3 tsz users         17 2010-03-05 19:43 /user/tsz/k20d2f4/bin-2^04+1_AF650AE776488A4D
      

      Replace the wildcard with ^, the file is not found.

      -bash-3.1$ hadoop fs -ls k20d2f4/bin-2^04+1_AF650AE776488A4D
      ls: Cannot access k20d2f4/bin-2^04+1_AF650AE776488A4D: No such file or directory.
      

      Attachments

        1. c6618_20100305.patch
          0.6 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

              Unassigned Unassigned
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: