Hi: You can check the content of $KYLIN_HOME/bin/cached-hadoop-conf-dir.sh to ensure that the ‘kylin_hadoop_conf_dir' be set to correct HADOOP_CONF path.
If the path is not correct, you can delete the $KYLIN_HOME/bin/cached-hadoop-conf-dir.sh. Then manually configure ‘kylin.env.hadoop-conf-dir' in ‘kylin.properties' and restart kylin. > 在 2021年7月6日,20:19,55865835 <[email protected]> 写道 > > 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> > <name>yarn.app.mapreduce.am.env</name> > <value>HADOOP_MAPRED_HOME=${full path of your hadoop distribution > directory}</value> > > 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。
