我搭建spark集群时,在master上 ./start-all.sh,发现一个slave节点起不来,一个slave节点能起来;错误如下 Spark Command: /usr/java/jdk1.8.0_91/jre/bin/java -cp /usr/local/spark/conf/:/usr/local/spark/lib/spark-assembly-1.6.2-hadoop2.6.0.jar:/usr/local/spark/lib/datanucleus-api-jdo-3.2.6.jar:/usr/local/spark/lib/datanucleus-rdbms-3.2.9.jar:/usr/local/spark/lib/datanucleus-core-3.2.10.jar:/usr/hdp/2.3.0.0-2557/hadoop/etc/hadoop/ -Xms1g -Xmx1g org.apache.spark.deploy.worker.Worker --webui-port 8081 spark://master.secsmarts.com:7077 ======================================== Exception in thread "main" java.lang.NoSuchMethodError: scala.Predef$.augmentString(Ljava/lang/String;)Ljava/lang/String; at org.apache.spark.util.Utils$.<init>(Utils.scala:1718) at org.apache.spark.util.Utils$.<clinit>(Utils.scala) at org.apache.spark.Logging$.<init>(Logging.scala:161) at org.apache.spark.Logging$.<clinit>(Logging.scala) at org.apache.spark.Logging$class.initializeIfNecessary(Logging.scala:103) at org.apache.spark.Logging$class.log(Logging.scala:50) at org.apache.spark.deploy.worker.Worker$.log(Worker.scala:684) at org.apache.spark.deploy.worker.Worker$.main(Worker.scala:689)
at org.apache.spark.deploy.worker.Worker.main(Worker.scala)
求助
|