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-6999) Add log about how to solve Error: Could not find or load main class org.apache.hadoop.mapreduce.v2.app.MRAppMaster
Date Sat, 26 Aug 2017 06:12:00 GMT

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

Hudson commented on YARN-6999:
------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #12249 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/12249/])
YARN-6999. Add log about how to solve Error: Could not find or load main (gtcarrera9: rev
3bee7046c52bff681a5aecc956ba9be6c3543397)
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/ContainerLaunch.java


> Add log about how to solve Error: Could not find or load main class org.apache.hadoop.mapreduce.v2.app.MRAppMaster
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-6999
>                 URL: https://issues.apache.org/jira/browse/YARN-6999
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: documentation, security
>    Affects Versions: 3.0.0-beta1
>         Environment: All operating systems.
>            Reporter: Linlin Zhou
>            Assignee: Linlin Zhou
>            Priority: Minor
>              Labels: newbie
>             Fix For: 3.0.0-beta1, 2.9
>
>         Attachments: yarn-6999.002.patch, yarn-6999.003.patch, yarn-6999.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> According Setting up a Single Node Cluster [https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/SingleCluster.html],
we would still failed to run the MapReduce job example. Due to a security fix, yarn use user's
environment variables to init, and user's environment variable usually doesn't include MapReduce
related settings. So we need to add the related config in etc/hadoop/mapred-site.xml manually.
Currently the log only tells there is an Error:
> Could not find or load main class org.apache.hadoop.mapreduce.v2.app.MRAppMaster, without
suggestion on how to solve it. I want to add the useful suggestion in log.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message