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

Support file patterns in dfs commands

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.2
    • Fix Version/s: 0.7.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently DFSShell does not support file patterns in dfs file names. It's quite inconvenient for users when they need to manipulate multiple files.

      This issue is intended to extend DFSShell to interprete file patterns. A file pattern contains special special pattern matching characters:

      ?: matches any character
      *: matches zero or more characters
      [abc]: matches a character from character set

      {a, b, c}

      [a-c]: matches a character from character range:

      {a...c}

      [^a]: matches a character not in character set or range

      {a}

      \c: escape any special meaning of character c

        Attachments

        1. glob.patch
          29 kB
          Hairong Kuang
        2. glob.patch
          30 kB
          Hairong Kuang

          Activity

            People

            • Assignee:
              hairong Hairong Kuang
              Reporter:
              hairong Hairong Kuang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: