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 "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org> on 2011/09/02 15:28:09 UTC

[jira] [Updated] (MAPREDUCE-2687) Non superusers unable to launch apps in both secure and non-secure cluster

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

Vinod Kumar Vavilapalli updated MAPREDUCE-2687:
-----------------------------------------------

    Description: Apps of non superuser fail to succeed in both secure and non-secure environment. Only the superuser(i.e. one who started/owns the mrv2 cluster) is able to launch apps successfully. However, when a normal user submits a job, the job fails.  (was: Apps of non superuser fail to succeed in a non-secure environment. Only the superuser(i.e. one who started/owns the mrv2 cluster) is able to launch apps successfully. However, when a normal user submits a job, the job fails.)
       Priority: Blocker  (was: Major)
        Summary: Non superusers unable to launch apps in both secure and non-secure cluster  (was: Non superusers unable to launch apps in a non-secure cluster)

[~karams] found another bug but in secure mode which I tracked down to be just another manifestation of this bug.
{code}
2011-08-30 15:22:55,997 INFO org.apache.hadoop.yarn.server.nodemanager.containermanager.container.Container: Container container_1314717753121_0001_01_000001 transitioned from LOCALIZING to LOCALIZED
2011-08-30 15:22:56,007 WARN org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext: Disk Error Exception: org.apache.hadoop.util.DiskChecker$DiskErrorException: directory is not writable: /tmp/hadoop/var/log/mapred/application_1314717753121_0001
        at org.apache.hadoop.util.DiskChecker.checkDir(DiskChecker.java:99)
        at org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.createPath(LocalDirAllocator.java:260)
        at org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.getLocalPathForWrite(LocalDirAllocator.java:327)
        at org.apache.hadoop.fs.LocalDirAllocator.getLocalPathForWrite(LocalDirAllocator.java:132)
        at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:101)
        at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:61)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
.... (4 times)
2011-08-30 15:22:56,009 WARN org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch: Failed to launch container
org.apache.hadoop.util.DiskChecker$DiskErrorException: Could not find any valid local directory for application_1314717753121_0001/container_1314717753121_0001_01_000001
        at org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.getLocalPathForWrite(LocalDirAllocator.java:350)
        at org.apache.hadoop.fs.LocalDirAllocator.getLocalPathForWrite(LocalDirAllocator.java:132)
        at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:101)
        at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:61)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
2011-08-30 15:22:56,010 INFO org.apache.hadoop.yarn.server.nodemanager.containermanager.container.Container: Processing container_1314717753121_0001_01_000001 of type CONTAINER_EXITED_WITH_FAILURE
{code}

Updating title, description and upping it to a blocker.

> Non superusers unable to launch apps in both secure and non-secure cluster
> --------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-2687
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2687
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Ramya Sunil
>            Assignee: Mahadev konar
>            Priority: Blocker
>             Fix For: 0.23.0
>
>         Attachments: MAREDUCE-2687.patch
>
>
> Apps of non superuser fail to succeed in both secure and non-secure environment. Only the superuser(i.e. one who started/owns the mrv2 cluster) is able to launch apps successfully. However, when a normal user submits a job, the job fails.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira