Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Session '-1' not found. (error 404) on Hue 4

Session '-1' not found. (error 404) on Hue 4

Rising Star

I have enable spark notebook on hue 4 following on this https://blogs.msdn.microsoft.com/pliu/2016/06/18/run-hue-spark-notebook-on-cloudera/ 

 but in sample, when i execute the sample code print 1+1+1, this shows the error : Session '-1' not found. (error 404) like in https://community.cloudera.com/t5/Web-UI-Hue-Beeswax/Session-1-not-found-error-404/m-p/56019/highlig...

 

The difference is I have execute 

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

 It still doesn't work.  I have check levy log and spark log, nothing found except the 404 error. 

 

How to resolve it?