You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by rurbanow <ru...@gmail.com> on 2016/11/08 18:40:11 UTC
Running
Hi,
I have a little haddop, hive, spark, hue setup. I am using hue to try to run
the sample spark notebook. I get the following error messages:
The Spark session could not be created in the cluster: timeout
or
"Session '-1' not found." (error 404)
Spark and livy are up and running. Searching the web for these error
messages tells me this is a permissions issue relating to the application
history folder and the spark-warehouse directory. On my system, both
directories have 777 permissions.
I also try this:
curl -X POST --data '{"kind": "pyspark"}' -H "Content-Type:
application/json" localhost:8998/sessions
Everything starts, and then I get the following in Hue:
16/10/21 11:17:04 INFO ContextLauncher: 16/10/21 11:17:04 INFO
hive.HiveSharedState: Warehouse path is '/usr/local/spark/spark-warehouse'.
16/10/21 11:17:04 INFO ContextLauncher: 16/10/21 11:17:04 INFO
server.ServerConnector: Stopped
ServerConnector@6d5031fe{HTTP/1.1}{0.0.0.0:4040}
16/10/21 11:17:04 INFO ContextLauncher: 16/10/21 11:17:04 INFO
handler.ContextHandler: Stopped
o.s.j.s.ServletContextHandler@574c1328{/stages/stage/kill,null,UNAVAILABLE}
16/10/21 11:17:04 INFO ContextLauncher: 16/10/21 11:17:04 INFO
handler.ContextHandler: Stopped
o.s.j.s.ServletContextHandler@683e60e7{/api,null,UNAVAILABLE}
16/10/21 11:17:04 INFO ContextLauncher: 16/10/21 11:17:04 INFO
handler.ContextHandler: Stopped
o.s.j.s.ServletContextHandler@32780f73{/,null,UNAVAILABLE}
16/10/21 11:17:04 INFO ContextLauncher: 16/10/21 11:17:04 INFO
handler.ContextHandler: Stopped
o.s.j.s.ServletContextHandler@37faa18{/static,null,UNAVAILABLE}
This goes on with stopping everything and shutting down other processes.
spark-warehouse folder exists with 777 permissions.
Does anyone have any insight as to why this is happening? Thank you.
-rob
--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Running-tp28046.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscribe@spark.apache.org