Ho appena scaricato l'ultima versione di scintilla e quando ho iniziato il guscio scintilla ho ottenuto il seguente errore:errore all'avvio della shell scintilla
java.net.BindException: Failed to bind to: /192.168.1.254:0: Service 'sparkDriver' failed after 16 retries!
at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:272)
at akka.remote.transport.netty.NettyTransport$$anonfun$listen$1.apply(NettyTransport.scala:393)
at akka.remote.transport.netty.NettyTransport$$anonfun$listen$1.apply(NettyTransport.scala:389)
...
...
java.lang.NullPointerException
at org.apache.spark.sql.SQLContext.<init>(SQLContext.scala:193)
at org.apache.spark.sql.hive.HiveContext.<init>(HiveContext.scala:71)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.apache.spark.repl.SparkILoop.createSQLContext(SparkILoop.scala:1028)
at $iwC$$iwC.<init>(<console>:9)
...
...
<console>:10: error: not found: value sqlContext
import sqlContext.implicits._
^
<console>:10: error: not found: value sqlContext
import sqlContext.sql
^
C'è qualcosa che ho perso nella creazione di scintilla?
Eseguendo "spark-shell", crea la directory \ tmp \ hive in C :, ha lo stesso problema \ errore e si è verificato un problema con le autorizzazioni per tale cartella. Semplicemente spostato sotto% HADOOP_HOME% \ bin e riavvia il cmd come amministratore. Ha funzionato come un vero e proprio fascino per me dopo aver superato qualsiasi possibile correzione consigliata allo stack overflow. – paranza