You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Tom White (JIRA)" <ji...@apache.org> on 2008/06/05 16:01:45 UTC

[jira] Created: (HADOOP-3498) File globbing alternation should be able to span path components

File globbing alternation should be able to span path components
----------------------------------------------------------------

                 Key: HADOOP-3498
                 URL: https://issues.apache.org/jira/browse/HADOOP-3498
             Project: Hadoop Core
          Issue Type: Improvement
          Components: fs
            Reporter: Tom White


For example, {/a/b,/c/d} should expand to /a/b and /c/d. This change would also permit a consistent syntax for specifying multiple input paths to MapReduce, streaming and Pig by specification of a single glob path with alternation {/a/b,/c/d}, rather than a collection of comma separated glob paths /a/b,/c/d.

This change would also make globbing more consistent with bash, which supports this feature.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-3498) File globbing alternation should be able to span path components

Posted by "Tom White (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated HADOOP-3498:
------------------------------

    Status: Open  (was: Patch Available)

> File globbing alternation should be able to span path components
> ----------------------------------------------------------------
>
>                 Key: HADOOP-3498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3498
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.19.0
>
>         Attachments: hadoop-3498-v2.patch, hadoop-3498-v3.patch, hadoop-3498.patch
>
>
> For example, {/a/b,/c/d} should expand to /a/b and /c/d. This change would also permit a consistent syntax for specifying multiple input paths to MapReduce, streaming and Pig by specification of a single glob path with alternation {/a/b,/c/d}, rather than a collection of comma separated glob paths /a/b,/c/d.
> This change would also make globbing more consistent with bash, which supports this feature.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-3498) File globbing alternation should be able to span path components

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628872#action_12628872 ] 

Hudson commented on HADOOP-3498:
--------------------------------

Integrated in Hadoop-trunk #595 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/595/])

> File globbing alternation should be able to span path components
> ----------------------------------------------------------------
>
>                 Key: HADOOP-3498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3498
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.19.0
>
>         Attachments: hadoop-3498-v2.patch, hadoop-3498-v3.patch, hadoop-3498.patch
>
>
> For example, {/a/b,/c/d} should expand to /a/b and /c/d. This change would also permit a consistent syntax for specifying multiple input paths to MapReduce, streaming and Pig by specification of a single glob path with alternation {/a/b,/c/d}, rather than a collection of comma separated glob paths /a/b,/c/d.
> This change would also make globbing more consistent with bash, which supports this feature.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-3498) File globbing alternation should be able to span path components

Posted by "Tom White (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated HADOOP-3498:
------------------------------

    Attachment: hadoop-3498.patch

Patch for review. Alternations are only expanded if there is an embedded "/", for efficiency.

> File globbing alternation should be able to span path components
> ----------------------------------------------------------------
>
>                 Key: HADOOP-3498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3498
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Tom White
>         Attachments: hadoop-3498.patch
>
>
> For example, {/a/b,/c/d} should expand to /a/b and /c/d. This change would also permit a consistent syntax for specifying multiple input paths to MapReduce, streaming and Pig by specification of a single glob path with alternation {/a/b,/c/d}, rather than a collection of comma separated glob paths /a/b,/c/d.
> This change would also make globbing more consistent with bash, which supports this feature.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HADOOP-3498) File globbing alternation should be able to span path components

Posted by "Tom White (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White reassigned HADOOP-3498:
---------------------------------

    Assignee: Tom White

> File globbing alternation should be able to span path components
> ----------------------------------------------------------------
>
>                 Key: HADOOP-3498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3498
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: hadoop-3498.patch
>
>
> For example, {/a/b,/c/d} should expand to /a/b and /c/d. This change would also permit a consistent syntax for specifying multiple input paths to MapReduce, streaming and Pig by specification of a single glob path with alternation {/a/b,/c/d}, rather than a collection of comma separated glob paths /a/b,/c/d.
> This change would also make globbing more consistent with bash, which supports this feature.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-3498) File globbing alternation should be able to span path components

Posted by "Tom White (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated HADOOP-3498:
------------------------------

    Attachment: hadoop-3498-v2.patch

Hairong, Thanks for the feedback.

I wanted to avoid expanding all alternations so that we didn't get an explosion of paths for things like:

{a,b,c,d,e}{f,g,h,i,j}{k,l,m,n,o}

This would continue to be processed as a single path and matched using regular expressions.

The patch does scan filePattern multiple times, so I've changed it so that it doesn't scan previously-expanded parts of the path. This change dramatically reduces the number of character scans.

> File globbing alternation should be able to span path components
> ----------------------------------------------------------------
>
>                 Key: HADOOP-3498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3498
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: hadoop-3498-v2.patch, hadoop-3498.patch
>
>
> For example, {/a/b,/c/d} should expand to /a/b and /c/d. This change would also permit a consistent syntax for specifying multiple input paths to MapReduce, streaming and Pig by specification of a single glob path with alternation {/a/b,/c/d}, rather than a collection of comma separated glob paths /a/b,/c/d.
> This change would also make globbing more consistent with bash, which supports this feature.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-3498) File globbing alternation should be able to span path components

Posted by "Tom White (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated HADOOP-3498:
------------------------------

    Attachment: hadoop-3498-v3.patch

New patch fixing license headers. The test failures look unrelated to this patch.

> File globbing alternation should be able to span path components
> ----------------------------------------------------------------
>
>                 Key: HADOOP-3498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3498
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.19.0
>
>         Attachments: hadoop-3498-v2.patch, hadoop-3498-v3.patch, hadoop-3498.patch
>
>
> For example, {/a/b,/c/d} should expand to /a/b and /c/d. This change would also permit a consistent syntax for specifying multiple input paths to MapReduce, streaming and Pig by specification of a single glob path with alternation {/a/b,/c/d}, rather than a collection of comma separated glob paths /a/b,/c/d.
> This change would also make globbing more consistent with bash, which supports this feature.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-3498) File globbing alternation should be able to span path components

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628647#action_12628647 ] 

Nigel Daley commented on HADOOP-3498:
-------------------------------------

I wish this patch had updated org.apache.hadoop.cli.TestCLI.  Tom, if that makes sense, can you open another Jira?


> File globbing alternation should be able to span path components
> ----------------------------------------------------------------
>
>                 Key: HADOOP-3498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3498
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.19.0
>
>         Attachments: hadoop-3498-v2.patch, hadoop-3498-v3.patch, hadoop-3498.patch
>
>
> For example, {/a/b,/c/d} should expand to /a/b and /c/d. This change would also permit a consistent syntax for specifying multiple input paths to MapReduce, streaming and Pig by specification of a single glob path with alternation {/a/b,/c/d}, rather than a collection of comma separated glob paths /a/b,/c/d.
> This change would also make globbing more consistent with bash, which supports this feature.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-3498) File globbing alternation should be able to span path components

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627131#action_12627131 ] 

Hairong Kuang commented on HADOOP-3498:
---------------------------------------

+1 The optimization looks good to me.

> File globbing alternation should be able to span path components
> ----------------------------------------------------------------
>
>                 Key: HADOOP-3498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3498
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.19.0
>
>         Attachments: hadoop-3498-v2.patch, hadoop-3498.patch
>
>
> For example, {/a/b,/c/d} should expand to /a/b and /c/d. This change would also permit a consistent syntax for specifying multiple input paths to MapReduce, streaming and Pig by specification of a single glob path with alternation {/a/b,/c/d}, rather than a collection of comma separated glob paths /a/b,/c/d.
> This change would also make globbing more consistent with bash, which supports this feature.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-3498) File globbing alternation should be able to span path components

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628540#action_12628540 ] 

Hadoop QA commented on HADOOP-3498:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12389496/hadoop-3498-v3.patch
  against trunk revision 692287.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 6 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    -1 core tests.  The patch failed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3180/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3180/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3180/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3180/console

This message is automatically generated.

> File globbing alternation should be able to span path components
> ----------------------------------------------------------------
>
>                 Key: HADOOP-3498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3498
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.19.0
>
>         Attachments: hadoop-3498-v2.patch, hadoop-3498-v3.patch, hadoop-3498.patch
>
>
> For example, {/a/b,/c/d} should expand to /a/b and /c/d. This change would also permit a consistent syntax for specifying multiple input paths to MapReduce, streaming and Pig by specification of a single glob path with alternation {/a/b,/c/d}, rather than a collection of comma separated glob paths /a/b,/c/d.
> This change would also make globbing more consistent with bash, which supports this feature.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-3498) File globbing alternation should be able to span path components

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12622297#action_12622297 ] 

Hairong Kuang commented on HADOOP-3498:
---------------------------------------

This patch needs to scan filePattern multiple times if there are more than one curly braces in the pattern. Multilevel nested braces will lead to the number of scans close to exponential growth.  If alternations are expanded no matter there is an embedded "/" or not, we could use an algorithm that requires only one pass of scanning.

> File globbing alternation should be able to span path components
> ----------------------------------------------------------------
>
>                 Key: HADOOP-3498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3498
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: hadoop-3498.patch
>
>
> For example, {/a/b,/c/d} should expand to /a/b and /c/d. This change would also permit a consistent syntax for specifying multiple input paths to MapReduce, streaming and Pig by specification of a single glob path with alternation {/a/b,/c/d}, rather than a collection of comma separated glob paths /a/b,/c/d.
> This change would also make globbing more consistent with bash, which supports this feature.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-3498) File globbing alternation should be able to span path components

Posted by "Tom White (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated HADOOP-3498:
------------------------------

    Fix Version/s: 0.19.0
           Status: Patch Available  (was: Open)

> File globbing alternation should be able to span path components
> ----------------------------------------------------------------
>
>                 Key: HADOOP-3498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3498
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.19.0
>
>         Attachments: hadoop-3498-v2.patch, hadoop-3498.patch
>
>
> For example, {/a/b,/c/d} should expand to /a/b and /c/d. This change would also permit a consistent syntax for specifying multiple input paths to MapReduce, streaming and Pig by specification of a single glob path with alternation {/a/b,/c/d}, rather than a collection of comma separated glob paths /a/b,/c/d.
> This change would also make globbing more consistent with bash, which supports this feature.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-3498) File globbing alternation should be able to span path components

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626218#action_12626218 ] 

Hadoop QA commented on HADOOP-3498:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12388914/hadoop-3498-v2.patch
  against trunk revision 689380.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 6 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    -1 release audit.  The applied patch generated 272 release audit warnings (more than the trunk's current 271 warnings).

    -1 core tests.  The patch failed core unit tests.

    -1 contrib tests.  The patch failed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3123/testReport/
Release audit warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3123/artifact/trunk/current/releaseAuditDiffWarnings.txt
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3123/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3123/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3123/console

This message is automatically generated.

> File globbing alternation should be able to span path components
> ----------------------------------------------------------------
>
>                 Key: HADOOP-3498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3498
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.19.0
>
>         Attachments: hadoop-3498-v2.patch, hadoop-3498.patch
>
>
> For example, {/a/b,/c/d} should expand to /a/b and /c/d. This change would also permit a consistent syntax for specifying multiple input paths to MapReduce, streaming and Pig by specification of a single glob path with alternation {/a/b,/c/d}, rather than a collection of comma separated glob paths /a/b,/c/d.
> This change would also make globbing more consistent with bash, which supports this feature.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-3498) File globbing alternation should be able to span path components

Posted by "Robert Chansler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Chansler updated HADOOP-3498:
------------------------------------

    Release Note: Extended file globbing alternation to cross path components. For example, {/a/b,/c/d} expands to a path that matches the files /a/b and /c/d.  (was: File globbing alternation can now cross path components. For example, {/a/b,/c/d} expands to a patch that matches the files /a/b and /c/d.)

> File globbing alternation should be able to span path components
> ----------------------------------------------------------------
>
>                 Key: HADOOP-3498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3498
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.19.0
>
>         Attachments: hadoop-3498-v2.patch, hadoop-3498-v3.patch, hadoop-3498.patch
>
>
> For example, {/a/b,/c/d} should expand to /a/b and /c/d. This change would also permit a consistent syntax for specifying multiple input paths to MapReduce, streaming and Pig by specification of a single glob path with alternation {/a/b,/c/d}, rather than a collection of comma separated glob paths /a/b,/c/d.
> This change would also make globbing more consistent with bash, which supports this feature.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-3498) File globbing alternation should be able to span path components

Posted by "Tom White (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated HADOOP-3498:
------------------------------

    Status: Patch Available  (was: Open)

> File globbing alternation should be able to span path components
> ----------------------------------------------------------------
>
>                 Key: HADOOP-3498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3498
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.19.0
>
>         Attachments: hadoop-3498-v2.patch, hadoop-3498-v3.patch, hadoop-3498.patch
>
>
> For example, {/a/b,/c/d} should expand to /a/b and /c/d. This change would also permit a consistent syntax for specifying multiple input paths to MapReduce, streaming and Pig by specification of a single glob path with alternation {/a/b,/c/d}, rather than a collection of comma separated glob paths /a/b,/c/d.
> This change would also make globbing more consistent with bash, which supports this feature.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-3498) File globbing alternation should be able to span path components

Posted by "Tom White (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated HADOOP-3498:
------------------------------

      Resolution: Fixed
    Release Note: File globbing alternation can now cross path components. For example, {/a/b,/c/d} expands to a patch that matches the files /a/b and /c/d.
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

I've just committed this.

> File globbing alternation should be able to span path components
> ----------------------------------------------------------------
>
>                 Key: HADOOP-3498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3498
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.19.0
>
>         Attachments: hadoop-3498-v2.patch, hadoop-3498-v3.patch, hadoop-3498.patch
>
>
> For example, {/a/b,/c/d} should expand to /a/b and /c/d. This change would also permit a consistent syntax for specifying multiple input paths to MapReduce, streaming and Pig by specification of a single glob path with alternation {/a/b,/c/d}, rather than a collection of comma separated glob paths /a/b,/c/d.
> This change would also make globbing more consistent with bash, which supports this feature.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-3498) File globbing alternation should be able to span path components

Posted by "Tom White (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602652#action_12602652 ] 

Tom White commented on HADOOP-3498:
-----------------------------------

This could be implemented by recursively expanding alternations to produce a list of Paths, as the first stage of glob processing.

> File globbing alternation should be able to span path components
> ----------------------------------------------------------------
>
>                 Key: HADOOP-3498
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3498
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Tom White
>
> For example, {/a/b,/c/d} should expand to /a/b and /c/d. This change would also permit a consistent syntax for specifying multiple input paths to MapReduce, streaming and Pig by specification of a single glob path with alternation {/a/b,/c/d}, rather than a collection of comma separated glob paths /a/b,/c/d.
> This change would also make globbing more consistent with bash, which supports this feature.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.