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

ImportError: No module named pyspark_llap


ImportError: No module named pyspark_llap

New Contributor

when i am import this >from pyspark_llap import HiveWarehouseSession

i had faced the error like

ImportError: No module named pyspark_llap.

how to install this module .Is there any step by step user guide?


Re: ImportError: No module named pyspark_llap

Cloudera Employee

Hello @sduraisankar93,


If you are facing this issue, as you said it's because you do not have imported the module.


I believe you should check this documentation on how to import HWC and use it :


If you are using Zeppelin, please check this :


Note that, in Zeppelin pysark configuration could not work, so a work around is to set (via Ambari) in section, this configuration :

export SPARK_SUBMIT_OTPIONS="--jars usr/hdp/current/hive_warehouse_connector/hive-warehouse-connector-assembly-<version>.jar --py-files usr/hdp/current/hive_warehouse_connector/hive-warehouse-connector-assembly-<version>.zip"


Then to start a pyspark shell on your machines, launch this command :

pyspark --jars /usr/hdp/current/hive_warehouse_connector/hive-warehouse-connector-assembly-jar --py-files /usr/hdp/current/hive_warehouse_connector/

Don't have an account?
Coming from Hortonworks? Activate your account here