Reply
New Contributor
Posts: 1
Registered: ‎04-06-2017

Hue server 3.9.0 won't start "No module named spark.conf"

Hi,

 

I've been trying to rebuild a CDH 5.8.3 cluster after removing kerberos authentication.

Everything is working except the Hue service won't start.

The error I'm getting in CM is:

 

Spark is not enabled
Traceback (most recent call last):
File "/usr/lib/hue/desktop/libs/notebook/src/notebook/connectors/spark_shell.py", line 38, in <module>
from spark.conf import LIVY_SERVER_SESSION_KIND
ImportError: No module named spark.conf

 

I've tried removing and reinstalling all of the hue packages, with no change.

 

Any ideas would be appreciated.

 

Thank you.

Highlighted
Cloudera Employee
Posts: 24
Registered: ‎01-27-2017

Re: Hue server 3.9.0 won't start "No module named spark.conf"

Jason, 

 

Please provide the contents of /opt/cloudera/parcels/CDH-x.cdhx/lib/hue/build/env/lib/python2.6/site-packages/hue.pth from the cluster (replacing x with your version). 

 

In a similar case the issue was that the paths were set incorrectly resulting in the error that you see above. 

 

Jordan

Announcements