Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha, 0.23.4
    • Component/s: nodemanager
    • Labels:
      None

      Description

      NM throws NPE on startup if it doesn't have persmission's on nm local dir's

      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)
      
      1. YARN-42.txt
        3 kB
        Vinod Kumar Vavilapalli
      2. MAPREDUCE-4254.patch
        3 kB
        Devaraj K

        Activity

        Devaraj K created issue -
        Devaraj K made changes -
        Field Original Value New Value
        Attachment MAPREDUCE-4254.patch [ 12527814 ]
        Devaraj K made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Devaraj K made changes -
        Target Version/s 2.0.1-alpha, 3.0.0 [ 12321442, 12320355 ]
        Devaraj K made changes -
        Project Hadoop Map/Reduce [ 12310941 ] Hadoop YARN [ 12313722 ]
        Key MAPREDUCE-4254 YARN-42
        Affects Version/s 2.1.0-alpha [ 12322547 ]
        Affects Version/s 2.0.0-alpha [ 12320354 ]
        Affects Version/s 3.0.0 [ 12320355 ]
        Target Version/s 2.1.0-alpha, 3.0.0 [ 12321442, 12320355 ]
        Assignee Devaraj K [ devaraj.k ]
        Component/s nodemanager [ 12319323 ]
        Component/s mrv2 [ 12314301 ]
        Component/s nodemanager [ 12315341 ]
        Devaraj K made changes -
        Summary NM throws NPE on startup if it doesn't have permission's on nm local dir's Node Manager throws NPE on startup
        Vinod Kumar Vavilapalli made changes -
        Assignee Devaraj K [ devaraj.k ]
        Vinod Kumar Vavilapalli made changes -
        Attachment YARN-42.txt [ 12543785 ]
        Vinod Kumar Vavilapalli made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 2.1.0-alpha [ 12322547 ]
        Resolution Fixed [ 1 ]
        Arun C Murthy made changes -
        Fix Version/s 2.0.2-alpha [ 12322548 ]
        Fix Version/s 2.1.0-alpha [ 12322547 ]
        Arun C Murthy made changes -
        Affects Version/s 2.0.0-alpha [ 12323271 ]
        Affects Version/s 2.1.0-alpha [ 12322547 ]
        Robert Joseph Evans made changes -
        Fix Version/s 0.23.4 [ 12323256 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Devaraj K
            Reporter:
            Devaraj K
          • Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development