使用的是单机版dolphinscheduler
错误1
情况1:
情况二:(下面的为同一次错误)
Caused by: java.lang.ClassNotFoundException: Class QueryResult not found
at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2571)
at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2665)
... 12 more
解决方案
cd /opt/installs/dolphinscheduler/bin/env
//修改dolphinscheduler_env.sh中hadoop的配置
export HADOOP_CONF_DIR=/opt/installs/hadoop/etc/hadoop
错误2
解决方案
该错误出现的原因是上面红框的问题
cd /opt/installs/hive/iotmp/
chmod 777 root/