将 DSE 4.6 升级到 4.7 后,job-server-0.5.0 出现问题。如果我运行 server_start.sh,我会收到错误消息“无法在 /usr/share/dse/spark/assembly/target/scala-2.10 中找到 Spark 程序集,您需要在运行此程序之前构建 Spark。”
我在 /usr/share/dse/spark/bin/compute-classpath.sh 中找到
此代码引发错误
for f in ${assembly_folder}/spark-assembly*hadoop*.jar; do
if [[ ! -e "$f" ]]; then
echo "Failed to find Spark assembly in $assembly_folder" 1>&2
echo "You need to build Spark before running this program." 1>&2
exit 1
fi
ASSEMBLY_JAR="$f"
num_jars=$((num_jars+1))
done
如果我运行 /usr/share/dse/spark/bin/spark-submit 我会得到同样的错误。