How to add spark-csv package to jupyter server on Azure for use with iPython -


i want use spark-csv package https://github.com/databricks/spark-csv within jupyter service running on spark hdinsight cluster on azure.

from local cluster know can like:

export packages="com.databricks:spark-csv_2.11:1.3.0" export pyspark_submit_args="--packages ${packages} pyspark-shell" 

however don't understand/know put in azure spark configuration.. clues hints appreciated.

you can use %%configure magic add required external package. should simple putting following snippet in first code cell.

%%configure { "packages":["com.databricks:spark-csv_2.10:1.4.0"] } 

this specific example covered in documentation. make sure start spark session after %%configure cell.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -