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

Support file patterns in dfs commands

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.2
    • 0.7.0
    • None
    • 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

            hairong Hairong Kuang
            hairong Hairong Kuang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: