hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3793) Several NPEs when deleting local files on NM recovery
Date Wed, 01 Jul 2015 22:20:07 GMT

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

Hudson commented on YARN-3793:
------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #8108 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/8108/])
YARN-3793. Several NPEs when deleting local files on NM recovery. Contributed by Varun Saxena
(jlowe: rev b5cdf78e8e6cd6c5c1fb7286207dac72be32c0d6)
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/TestLogAggregationService.java
* hadoop-yarn-project/CHANGES.txt
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/AppLogAggregatorImpl.java


> Several NPEs when deleting local files on NM recovery
> -----------------------------------------------------
>
>                 Key: YARN-3793
>                 URL: https://issues.apache.org/jira/browse/YARN-3793
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 2.6.0
>            Reporter: Karthik Kambatla
>            Assignee: Varun Saxena
>             Fix For: 2.7.2
>
>         Attachments: YARN-3793.01.patch, YARN-3793.02.patch
>
>
> When NM work-preserving restart is enabled, we see several NPEs on recovery. These seem
to correspond to sub-directories that need to be deleted. I wonder if null pointers here mean
incorrect tracking of these resources and a potential leak. This JIRA is to investigate and
fix anything required.
> Logs show:
> {noformat}
> 2015-05-18 07:06:10,225 INFO org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor:
Deleting absolute path : null
> 2015-05-18 07:06:10,224 ERROR org.apache.hadoop.yarn.server.nodemanager.DeletionService:
Exception during execution of task in DeletionService
> java.lang.NullPointerException
>         at org.apache.hadoop.fs.FileContext.fixRelativePart(FileContext.java:274)
>         at org.apache.hadoop.fs.FileContext.delete(FileContext.java:755)
>         at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.deleteAsUser(DefaultContainerExecutor.java:458)
>         at org.apache.hadoop.yarn.server.nodemanager.DeletionService$FileDeletionTask.run(DeletionService.java:293)
> {noformat}



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

Mime
View raw message