Website content quality is poor, distribution efficiency is too low how to do?Huawei engineers offer 5 unique skills>>>
I built a pseudo distributed big data environment. When I ran the example in Hadoop package, I got the following error:
Error: unable to find or load the main class org.apache.hadoop.mapreduce.v2.app.mrappmaster
Reason:
The above error is prompted when the build action is running on Hadoop cluster. The reason is that the yarn.application.classpath in yarn-site.xml and mapred-site.xml are not configured
Solution:
Find yarn-site.xml and mapred-site.xml, and add the following code in the configuration tag:
1 <property>
2 <name>yarn.application.classpath</name>
3 <value>
4 /bigdata/hadoop-3.0.3/etc/hadoop:/bigdata/hadoop-3.0.3/share/hadoop/common/lib/*:/bigdata/hadoop-3.0.3/share/hadoop/common/*:/bigdata/hadoop-3.0.3/share/hadoop/hdfs:/bigdata/hadoop-3.0.3/share/hadoop/hdfs/lib/*:/bigdata/hadoop-3.0.3/share/hadoop/hdfs/*:/bigdata/hadoop-3.0.3/share/hadoop/yarn/lib/*:/bigdata/hadoop-3.0.3/share/hadoop/yarn/*:/bigdata/hadoop-3.0.3/share/hadoop/mapreduce/lib/*:/bigdata/hadoop-3.0.3/share/hadoop/mapreduce/*:/bigdata/hadoop-3.0.3/contrib/capacity-scheduler/*.jar
5 </value>
6 </property>
Note: my $Hadoop_ HOME=bigdata/hadoop-3.0.3
After modification, remember to format
Similar Posts:
- The key technologies in hadoop-3.0.0 configuration yarn.nodemanager.aux -Services item
- [Solved] /bin/bash: /us/rbin/jdk1.8.0/bin/java: No such file or directory
- [Solved] Hadoop Error: The directory item limit is exceeded: limit=1048576 items=1048576
- [Solved] hadoop Configuration Modify Error: hive.ql.metadata.HiveException
- [Solved] hive beeline Connect Error: User:*** is not allowed to impersonate
- [Solved] Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses
- [Solved] Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses
- Solution to unknown hostexception error when HBase starts regionserver
- Hiveserver2 Connect Error: Could not open client transport with JDBC Uri: jdbc:hive2://hadoop01:100…
- [Solved] Hadoop Error: ERROR: Attempting to operate on yarn resourcemanager as root