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-42) Node Manager throws NPE on startup
Date Wed, 05 Sep 2012 03:18:07 GMT

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

Hudson commented on YARN-42:
----------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #2744 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2744/])
    YARN-42. Modify NM's non-aggregating logs' handler to stop properly so that NMs don't
get NPEs on startup errors. Contributed by Devaraj K. (Revision 1380954)

     Result = SUCCESS
vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1380954
Files : 
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/loghandler/NonAggregatingLogHandler.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/loghandler/TestNonAggregatingLogHandler.java

                
> Node Manager throws NPE on startup
> ----------------------------------
>
>                 Key: YARN-42
>                 URL: https://issues.apache.org/jira/browse/YARN-42
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 2.1.0-alpha
>            Reporter: Devaraj K
>            Assignee: Devaraj K
>             Fix For: 2.1.0-alpha
>
>         Attachments: MAPREDUCE-4254.patch, YARN-42.txt
>
>
> NM throws NPE on startup if it doesn't have persmission's on nm local dir's
> {code:xml}
> 2012-05-14 16:32:13,468 FATAL org.apache.hadoop.yarn.server.nodemanager.NodeManager:
Error starting NodeManager
> org.apache.hadoop.yarn.YarnException: Failed to initialize LocalizationService
> 	at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService.init(ResourceLocalizationService.java:202)
> 	at org.apache.hadoop.yarn.service.CompositeService.init(CompositeService.java:58)
> 	at org.apache.hadoop.yarn.server.nodemanager.containermanager.ContainerManagerImpl.init(ContainerManagerImpl.java:183)
> 	at org.apache.hadoop.yarn.service.CompositeService.init(CompositeService.java:58)
> 	at org.apache.hadoop.yarn.server.nodemanager.NodeManager.init(NodeManager.java:166)
> 	at org.apache.hadoop.yarn.server.nodemanager.NodeManager.initAndStartNodeManager(NodeManager.java:268)
> 	at org.apache.hadoop.yarn.server.nodemanager.NodeManager.main(NodeManager.java:284)
> Caused by: java.io.IOException: mkdir of /mrv2/tmp/nm-local-dir/usercache failed
> 	at org.apache.hadoop.fs.FileSystem.primitiveMkdir(FileSystem.java:907)
> 	at org.apache.hadoop.fs.DelegateToFileSystem.mkdir(DelegateToFileSystem.java:143)
> 	at org.apache.hadoop.fs.FilterFs.mkdir(FilterFs.java:189)
> 	at org.apache.hadoop.fs.FileContext$4.next(FileContext.java:706)
> 	at org.apache.hadoop.fs.FileContext$4.next(FileContext.java:703)
> 	at org.apache.hadoop.fs.FileContext$FSLinkResolver.resolve(FileContext.java:2325)
> 	at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:703)
> 	at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService.init(ResourceLocalizationService.java:188)
> 	... 6 more
> 2012-05-14 16:32:13,472 INFO org.apache.hadoop.yarn.service.CompositeService: Error stopping
org.apache.hadoop.yarn.server.nodemanager.containermanager.loghandler.NonAggregatingLogHandler
> java.lang.NullPointerException
> 	at org.apache.hadoop.yarn.server.nodemanager.containermanager.loghandler.NonAggregatingLogHandler.stop(NonAggregatingLogHandler.java:82)
> 	at org.apache.hadoop.yarn.service.CompositeService.stop(CompositeService.java:99)
> 	at org.apache.hadoop.yarn.service.CompositeService.stop(CompositeService.java:89)
> 	at org.apache.hadoop.yarn.server.nodemanager.containermanager.ContainerManagerImpl.stop(ContainerManagerImpl.java:266)
> 	at org.apache.hadoop.yarn.service.CompositeService.stop(CompositeService.java:99)
> 	at org.apache.hadoop.yarn.service.CompositeService.stop(CompositeService.java:89)
> 	at org.apache.hadoop.yarn.server.nodemanager.NodeManager.stop(NodeManager.java:182)
> 	at org.apache.hadoop.yarn.service.CompositeService$CompositeServiceShutdownHook.run(CompositeService.java:122)
> 	at org.apache.hadoop.util.ShutdownHookManager$1.run(ShutdownHookManager.java:54)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message