Posts: 6
Registered: ‎06-16-2017

Session '-1' not found. (error 404)

[ Edited ]

I'm using Hue 3.12. and have installed Livy on Ambari with spark2 and YARN.

When I'm trying to run sample script this is an error I'm getting. I have read about giving permission like this:

$ sudo -u hdfs hadoop fs -chmod 777 /user/spark
$ sudo -u spark hadoop fs -chmod 777 /user/spark/applicationHistory

But well, not working for me, beacuse I don't have any folders in /user/spark/ like 'applicationHistory'. Does anyone has any of solutions what it might be. I'm assuming by the code that we are talking about 'timeout' error and he can't reach Livy.

Ty :)