You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Linlin Zhou (JIRA)" <ji...@apache.org> on 2017/08/12 00:31:00 UTC
[jira] [Created] (YARN-6999) Add log about how to solve Error:
Could not find or load main class
org.apache.hadoop.mapreduce.v2.app.MRAppMaster
Linlin Zhou created YARN-6999:
---------------------------------
Summary: 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
Priority: Minor
Fix For: 3.0.0-beta1
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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org