hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhankun Tang (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (MAPREDUCE-6704) Container fail to launch for mapred application
Date Mon, 14 Nov 2016 01:57:58 GMT

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

Zhankun Tang edited comment on MAPREDUCE-6704 at 11/14/16 1:57 AM:
-------------------------------------------------------------------

[~bibinchundatt], The temp.patch corrects the HADOOP_MAPRED_HOME variable and the MRAppMaster
was found successfully. But then the AM fails on token version check. Please check the container
logs uploaded(MR-6704-trunk-tempPatch.tar.gz).
{noformat}
2016-11-14 04:43:47,660 FATAL [main] org.apache.hadoop.mapreduce.v2.app.MRAppMaster: Error
starting MRAppMaster
java.io.IOException: Exception reading /tmp/hadoop-yarn/nm-local-dir/usercache/yarn/appcache/application_1479115665737_0004/container_1479115665737_0004_02_000001/container_tokens
        at org.apache.hadoop.security.Credentials.readTokenStorageFile(Credentials.java:198)
        at org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:816)
        at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:760)
        at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:633)
        at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.initAndStartAppMaster(MRAppMaster.java:1495)
        at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.main(MRAppMaster.java:1448)
Caused by: java.io.IOException: Unknown version 1 in token storage.
        at org.apache.hadoop.security.Credentials.readTokenStorageStream(Credentials.java:216)
        at org.apache.hadoop.security.Credentials.readTokenStorageFile(Credentials.java:195)
        ... 5 more
2016-11-14 04:43:47,662 INFO [main] org.apache.hadoop.util.ExitUtil: Exiting with status 1
{noformat}


was (Author: tangzhankun):
[~bibinchundatt], The temp.patch corrects the HADOOP_MAPRED_HOME variable and the MRAppMaster
was found successfully. But then the AM fails on token version check. Please check the container
logs(MR-6704-trunk-tempPatch.tar.gz).
{noformat}
2016-11-14 04:43:47,660 FATAL [main] org.apache.hadoop.mapreduce.v2.app.MRAppMaster: Error
starting MRAppMaster
java.io.IOException: Exception reading /tmp/hadoop-yarn/nm-local-dir/usercache/yarn/appcache/application_1479115665737_0004/container_1479115665737_0004_02_000001/container_tokens
        at org.apache.hadoop.security.Credentials.readTokenStorageFile(Credentials.java:198)
        at org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:816)
        at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:760)
        at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:633)
        at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.initAndStartAppMaster(MRAppMaster.java:1495)
        at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.main(MRAppMaster.java:1448)
Caused by: java.io.IOException: Unknown version 1 in token storage.
        at org.apache.hadoop.security.Credentials.readTokenStorageStream(Credentials.java:216)
        at org.apache.hadoop.security.Credentials.readTokenStorageFile(Credentials.java:195)
        ... 5 more
2016-11-14 04:43:47,662 INFO [main] org.apache.hadoop.util.ExitUtil: Exiting with status 1
{noformat}

> Container fail to launch for mapred application
> -----------------------------------------------
>
>                 Key: MAPREDUCE-6704
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6704
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Bibin A Chundatt
>            Assignee: Bibin A Chundatt
>            Priority: Blocker
>         Attachments: 0001-MAPREDUCE-6704.patch, 0001-YARN-5026.patch, ClusterSetup.html,
MAPREDUCE-6704.0002.patch, MR-6704-branch2.8.tar.gz, MR-6704-trunk-tempPatch.tar.gz, MR-6704-trunk.tar.gz,
SingleCluster.html, container-whitelist-env-wip.patch, temp.patch
>
>
> Container fail to launch for mapred application.
> As part for launch script {{HADOOP_MAPRED_HOME}} default value is not set .After https://github.com/apache/hadoop/commit/9d4d30243b0fc9630da51a2c17b543ef671d035c
  {{HADOOP_MAPRED_HOME}} is not able to get from {{builder.environment()}} since {{DefaultContainerExecutor#buildCommandExecutor}}
sets inherit to false.
> {noformat}
> 16/05/02 09:16:05 INFO mapreduce.Job: Job job_1462155939310_0004 failed with state FAILED
due to: Application application_1462155939310_0004 failed 2 times due to AM Container for
appattempt_1462155939310_0004_000002 exited with  exitCode: 1
> Failing this attempt.Diagnostics: Exception from container-launch.
> Container id: container_1462155939310_0004_02_000001
> Exit code: 1
> Stack trace: ExitCodeException exitCode=1:
>         at org.apache.hadoop.util.Shell.runCommand(Shell.java:946)
>         at org.apache.hadoop.util.Shell.run(Shell.java:850)
>         at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:1144)
>         at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:227)
>         at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.launchContainer(ContainerLaunch.java:385)
>         at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:281)
>         at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:89)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:745)
> Container exited with a non-zero exit code 1. Last 4096 bytes of stderr :
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option UseSplitVerifier; support
was removed in 8.0
> Error: Could not find or load main class org.apache.hadoop.mapreduce.v2.app.MRAppMaster
> Container exited with a non-zero exit code 1. Last 4096 bytes of stderr :
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option UseSplitVerifier; support
was removed in 8.0
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org


Mime
View raw message