Hi:
I tried to create the folder /etc/hadoop/conf, and copied
the site.xml files of core, yarn, hive and hbase in this folder, and configured
kylin.env.hadoop-conf-dir=/etc/hadoop/conf in kylin.properties, and
restarted kylin, the problem has been solved. Thanks for your advice.
------------------ ???????? ------------------
??????:
"user"
<[email protected]>;
????????: 2021??7??7??(??????) ????9:55
??????: "user"<[email protected]>;"55865835"<[email protected]>;
????: Re: Error: Could not find or load main class
org.apache.hadoop.mapreduce.v2.app.MRAppMaster
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??