[ 
https://issues.apache.org/jira/browse/MAPREDUCE-895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12746170#action_12746170
 ] 

Jakob Homan commented on MAPREDUCE-895:
---------------------------------------

I should mentioned.  I examined every use of the listStatus method in the MR 
code and updated accordingly.  There were several places were we weren't 
checking for a null and could eventually have it an NPE, but in most cases 
there's an explicit check if the file exists or not.  Not too many changes were 
required.

All the unit tests pass except known-bads TestRecoveryManager (MAPREDUCE-880) 
and TestTrackerLocalization (MAPREDUCE-879). Can't run test-patch as it detects 
the updated jar files and bails.

> FileSystem::ListStatus will now throw FileNotFoundException, MapRed needs 
> updated
> ---------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-895
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-895
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>         Attachments: MAPREDUCE-895.patch
>
>
> HADOOP-6201 (and HDFS-538) determined the semantics of FileSystem::ListStatus 
> is not correct and that the actual file system class vary in their 
> implemenations, with some throwing an exception and some returning null.  
> Fixing this will require adjusting code that calls this method. 

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

Reply via email to