Hi:When I compile the sample cube, there are always errors??

Exit code: 1

[2021-07-06 19:55:24.646]Container exited with a non-zero exit code 1. Error 
file: prelaunch.err.
Last 4096 bytes of prelaunch.err :
Last 4096 bytes of stderr :
Error: Could not find or load main class 
org.apache.hadoop.mapreduce.v2.app.MRAppMaster

Please check whether your etc/hadoop/mapred-site.xml contains the below 
configuration:
<property&gt;
<name&gt;yarn.app.mapreduce.am.env</name&gt;
<value&gt;HADOOP_MAPRED_HOME=${full path of your hadoop distribution 
directory}</value&gt;



but it's ok to execute mapreduct task alone??I've tried to configure the hadoop 
classpath, but it doesn't work. Have you ever met this situation?Look forward 
to your reply??

Reply via email to