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 -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -