hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj K (JIRA)" <j...@apache.org>
Subject [jira] [Moved] (YARN-42) NM throws NPE on startup if it doesn't have permission's on nm local dir's
Date Fri, 24 Aug 2012 05:36:41 GMT

     [ https://issues.apache.org/jira/browse/YARN-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Devaraj K moved MAPREDUCE-4254 to YARN-42:
------------------------------------------

          Component/s:     (was: nodemanager)
                           (was: mrv2)
                       nodemanager
             Assignee:     (was: Devaraj K)
     Target Version/s:   (was: 2.1.0-alpha, 3.0.0)
    Affects Version/s:     (was: 3.0.0)
                           (was: 2.0.0-alpha)
                       2.1.0-alpha
                  Key: YARN-42  (was: MAPREDUCE-4254)
              Project: Hadoop YARN  (was: Hadoop Map/Reduce)
    
> NM throws NPE on startup if it doesn't have permission's on nm local dir's
> --------------------------------------------------------------------------
>
>                 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
>         Attachments: MAPREDUCE-4254.patch
>
>
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message