Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3557

provide means of escaping special characters to `hadoop fs` command

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • 0.20.2
    • None
    • None
    • None

    Description

      When running an investigative job, I used a date parameter that selected multiple directories for the input (e.g. "my_data/2012/06/

      {18,19,20}

      "). It used this same date parameter when creating the output directory.

      But `hadoop fs` was unable to ls, getmerge, or rmr it until I used the regex operator "?" and mv to change the name (that is, `-mv output/2012/06/?18,19,20? foobar").

      Shells and filesystems for other systems provide a means of escaping "special characters" generically, but there seems to be no such means in HDFS/`hadoop fs`. Providing one would be a great way to make accessing HDFS more robust.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jmhodges Jeff Hodges
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: