You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Mohammad Shahid Khan (JIRA)" <ji...@apache.org> on 2015/06/15 11:37:02 UTC

[jira] [Commented] (MAPREDUCE-6380) AggregatedLogDeletionService will throw exception when there are some other directories in remote-log-dir

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

Mohammad Shahid Khan commented on MAPREDUCE-6380:
-------------------------------------------------

Correct the listStatus(Path f) will throw FileNotFoundException, instead of propagating the failing the same  catch the  FileNotFoundException 
and should  log that  the directory does not exits.

> AggregatedLogDeletionService will throw exception when there are some other directories in remote-log-dir
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6380
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6380
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>            Reporter: Zhang Wei
>            Priority: Trivial
>
> AggregatedLogDeletionService will throw FileNotFoundException when there are some extraneous directories put in remote-log-dir. The deletion function will try to listStatus against the "extraneous-dir + suffix"  dir.  I think it would be better  if  the function can ignore these directories.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)