Home > other >  To start the spark - shell appear & lt; Console> : 10: error: not found: the value of sqlContext
To start the spark - shell appear & lt; Console> : 10: error: not found: the value of sqlContext

Time:09-16

After configured spark environment, there is an error:
Java.net.ConnectException: Call From localhost/127.0.0.1 to localhost: 9000 failed on connection exception: java.net.ConnectException: rejected the connection.
At the end there is an error prompt:
: 10: error: not found: the value sqlContext
The import sqlContext. Implicits. _
^
: 10: error: not found: the value sqlContext
The import sqlContext. SQL
How to solve, please reply

CodePudding user response:

The building Lord solved?

CodePudding user response:

Restart the Hadoop restart the spark is no as I am

CodePudding user response:

Vim/etc/hosts to increase the following
192.154.42 master
  • Related