Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/apache-spark/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/file/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache spark “阿帕奇火花”;未能启动org.apache.spark.deploy.master.master:";-RHEL7_Apache Spark - Fatal编程技术网

Apache spark “阿帕奇火花”;未能启动org.apache.spark.deploy.master.master:";-RHEL7

Apache spark “阿帕奇火花”;未能启动org.apache.spark.deploy.master.master:";-RHEL7,apache-spark,Apache Spark,我在通过start-master.sh脚本启动Apache Spark时遇到问题。我四处搜索,似乎找不到任何人曾经遇到过这个问题: 以下是我在启动时遇到的全部错误(日志列出了相同的错误,没有其他错误): 查看/usr/local/spark/bin/spark类,特别是第80-87行,我看到了以下内容: # The launcher library will print arguments separated by a NULL character, to allow arguments wit

我在通过start-master.sh脚本启动Apache Spark时遇到问题。我四处搜索,似乎找不到任何人曾经遇到过这个问题:

以下是我在启动时遇到的全部错误(日志列出了相同的错误,没有其他错误):

查看/usr/local/spark/bin/spark类,特别是第80-87行,我看到了以下内容:

# The launcher library will print arguments separated by a NULL character, to allow arguments with
# characters that would be otherwise interpreted by the shell. Read that in a while loop, populating
# an array that will be used to exec the final command.
CMD=()
while IFS= read -d '' -r ARG; do
   CMD+=("$ARG")
done < <("$RUNNER" -cp "$LAUNCH_CLASSPATH" org.apache.spark.launcher.Main "$@")
exec "${CMD[@]}"
#启动程序库将打印由空字符分隔的参数,以允许带有
#否则将由shell解释的字符。在while循环中阅读,填充
#将用于执行最终命令的数组。
CMD=()
而IFS=read-d'-r ARG;做
CMD+=(“$ARG”)
完成<
# The launcher library will print arguments separated by a NULL character, to allow arguments with
# characters that would be otherwise interpreted by the shell. Read that in a while loop, populating
# an array that will be used to exec the final command.
CMD=()
while IFS= read -d '' -r ARG; do
   CMD+=("$ARG")
done < <("$RUNNER" -cp "$LAUNCH_CLASSPATH" org.apache.spark.launcher.Main "$@")
exec "${CMD[@]}"