I have deployed a HDInsight 3.5 Spark (2.0) cluster on Microsoft Azure with the standard configurations (Location = US East, Head Nodes = D12 v2 (x2), Worker Nodes = D4 v2 (x4)). Locally I have installed sparkmagic following the steps in https://github.com/jupyter-incubator/sparkmagic/blob/master/README.md#installation and https://learn.microsoft.com/en-us/azure/hdinsight/hdinsight-apache-spark-jupyter-notebook-install-locally and changed the config.json file. When starting jupyter notebook I can chose the PySpark kernel. Even tough I get the message that the kernel is ready, when I try to execute a simple statement (e.g. t = 4), the kernel starts to run infinitely. Could you provide possible solution(s)?
Connect local jupyter notebook to HDInsight Cluster via sparkmagic
567 Views Asked by Stijn At
1
There are 1 best solutions below
Related Questions in AZURE
- Why does Azure Auto-Scale scale go lower then minimum amount of instances?
- Data execution plan ended with error on DB restore
- Why does Azure CloudConfigurationManager.GetSetting return null
- Do I need other roles than Worker Role for a web site and service layer in Azure?
- Azure Web App PATH Variable Modification
- Azure Data Factory: LinkedService for AzureSql in failed state
- How To Update a Web Application In Azure and Keep The App Up the whole time
- Using Azure MobileServices library with my own LAN WebApi
- ionCube loader error on Azure IIS
- App crash (if closed) after click on notification
- How to get sql data bases instances in azure using java api
- I want to create file in azure share using python PUT requests but getting error signature not correct including headers
- Enabling OPTIONS method on Azure Cloud Service (to enable CORS)
- Redirecting subdomain to directory on Azure
- Kaltura account settings error
Related Questions in PYSPARK
- dataframe or sqlctx (sqlcontext) generated "Trying to call a package" error
- Importing modules for code that runs in the workers
- Is possible to run spark (specifically pyspark) in process?
- More than expected jobs running in apache spark
- OutOfMemoryError when using PySpark to read files in local mode
- Can I change SparkContext.appName on the fly?
- Read ORC files directly from Spark shell
- Is there a way to mimic R's higher order (binary) function shorthand syntax within spark or pyspark?
- Accessing csv file placed in hdfs using spark
- one job takes extremely long on multiple left join in Spark-SQL (1.3.1)
- How to use spark for map-reduce flow to select N columns, top M rows of all csv files under a folder?
- Spark context 'sc' not defined
- How lambda function in takeOrdered function works in pySpark?
- Is the DStream return by updateStateByKey function only contains one RDD?
- What to set `SPARK_HOME` to?
Related Questions in JUPYTER-NOTEBOOK
- Display API documentation as an IPython notebook
- Using matplotlib.pyplot in iPython Notebook
- Executing Javascript cells in Jupyter Notebooks
- SVG elements that worked in past versions of iPython notebook dont seem to work any more
- URLError with SPARQLWrapper at sparql.query().convert()
- Print into console terminal not into cell output of IPython Notebook
- How to modify the line width of ipython notebook markdown cell
- How to align the pandas series in ipython notebook?
- IPython notebook launched, but cannot login via Browser
- Viewing graphs in Jupyter or IPython
- Spark context 'sc' not defined
- Getting UnicodeDecodeError when transposing DataFrame in iPython
- iPython HighCharts Example Notebook
- Matplotlib Python inline on/off
- Arrow color does not change in iPython when I am annotating a point on the scatterplot
Related Questions in AZURE-HDINSIGHT
- HBase AggregationClient in HDInsight
- Possibilities of Hadoop with MSSQL Reporting
- Using Apache spark with HDinsight cluster from a web application
- How to read from Azure Blob Storage in Hadoop?
- HDInsight HDFS Fully Qualified URI
- How to use Azure Storage Emulator for Hadoop?
- Extract data from HDInsight/Hadoop as Excel/CSV to local machine using Data Lake Tools for ViS
- How can a HDInsight cluster using SSH public key be visible to multiple users?
- 404:Not Found error when running Jupyter Notebooks on Microsoft Azure HDInsight 3.5
- Import own modules in Jupyter notebook on HDInsight
- Connect local jupyter notebook to HDInsight Cluster via sparkmagic
- How to use authentication methods in java to connect WASB on Azure VM
- How to use SAS token in core-site.xml in Azure VM
- Add custom logs in azure HDInsight application
- Using HDInsight with encrypted data
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Most probably, this is an issue where the
config.jsonis configured with the wrong endpoint, username, or password. If you are using the base64 password field, make sure the password is base64 encoded.Without more information regarding errors (log file should be in
~/.sparkmagic/logs), it's hard to say why you couldn't connect.