Apache Spark Start-slaves:在VM

时间:2018-07-02 22:33:33

标签: apache-spark raspberry-pi

我已经在3个节点的Raspberry Pi群集上安装了Spark。 当我想启动奴隶时,其中一个奴隶开始,而另一个奴隶则抛出以下错误:

hduser@node1:/opt/spark/sbin $ /start-slaves.sh
node3: starting org.apache.spark.deploy.worker.Worker, logging to /opt/spark/logs/spark-hduser-org.apache.spark.deploy.worker.Worker-1-node3.out
node2: starting org.apache.spark.deploy.worker.Worker, logging to /opt/spark/logs/spark-hduser-org.apache.spark.deploy.worker.Worker-1-node2.out
node2: failed to launch: nice -n 0 /opt/spark/bin/spark-class org.apache.spark.deploy.worker.Worker --webui-port 8081 spark://192.168.0.110:7077
node2:   Error occurred during initialization of VM
node2:   Invalid layout of preloaded class: use -XX:+TraceClassLoading to see the origin of the problem class
node2: full log in /opt/spark/logs/spark-hduser-org.apache.spark.deploy.worker.Worker-1-node2.out

0 个答案:

没有答案