[ 
https://issues.apache.org/jira/browse/HADOOP-8709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439665#comment-13439665
 ] 

Suresh Srinivas commented on HADOOP-8709:
-----------------------------------------

Jason, between 1.0 and 0.23 there are incompatible changes, as marked in the 
jiras. The primary motivation of this jira should  be correct behavior and no 
backward compatibility. So could you please update the description and the jira 
summary accordingly.

That said, the main question you are raising is, is the new behavior correct. I 
agree with Daryn that {{globStatus}} is different from {{getFileStatus}}. I 
also think your 
[proposal|https://issues.apache.org/jira/browse/HADOOP-8709?focusedCommentId=13437079&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13437079]
 seems reasonable to me.
                
> globStatus changed behavior from 0.20/1.x
> -----------------------------------------
>
>                 Key: HADOOP-8709
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8709
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.23.0, 2.0.0-alpha
>            Reporter: Jason Lowe
>            Assignee: Jason Lowe
>            Priority: Critical
>         Attachments: HADOOP-8709.patch, HADOOP-8709.patch
>
>
> In 0.20 or 1.x, globStatus will return an empty array if the glob pattern 
> does not match any files.  After HADOOP-6201 it throws FileNotFoundException. 
>  The javadoc states it will return an empty array.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to