Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

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

New Contributor

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.

1 REPLY 1

Contributor

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

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.