[
https://issues.apache.org/jira/browse/HADOOP-5472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700321#action_12700321
]
Tsz Wo (Nicholas), SZE commented on HADOOP-5472:
------------------------------------------------
It seems that fs.globStatus(p) will not return null. If p does not exist, it
returns an empty array. So, we only have to check whether inputs.length > 0.
If inputs.length > 0, add all paths to the list. If inputs.length == 0, add an
IOException to rslt (we don't have to check !fs.exists(p) again).
Also, could you add a test?
> Distcp does not support globbing of input paths
> -----------------------------------------------
>
> Key: HADOOP-5472
> URL: https://issues.apache.org/jira/browse/HADOOP-5472
> Project: Hadoop Core
> Issue Type: Bug
> Components: tools/distcp
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
> Fix For: 0.20.0
>
> Attachments: DistcpGlob.txt
>
>
> The current version of distcp does not support globbing of input paths.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.