Azure databricks never connects

ぃ、小莉子 提交于 2019-12-11 17:43:00

问题


I have created an Azure DataBricks cluster, which is in running state. But I cannot see shared, users and newly created notebooks under workspace. In fact, I can see a connecting... image on top left corner.

Please help.


回答1:


For us the problem was Websocket traffic being blocked on our proxy servers by McAfee Web Gateway. The solution was to selctively allow Websocket traffic as described here:

https://kc.mcafee.com/corporate/index?page=content&id=KB84052&actp=null&showDraft=false&platinum_status=false&locale=en_US&viewlocale=en_US

Excerpt from that article:

CAUTION: Be careful in allowing a WebSockets connection through MWG, so you do not open a security hole inside your setup. We recommended you do not allow WebSockets in general, but allow only the destinations you really want to use WebSockets.

To import the required rule set: Log in to MWG. Select Policy, Rule Sets, Common Rules. Click Add and select Rule Set from Library. In the Overview section, expand Common Rules. Select WebSocket Handling and click OK. Place this rule set into your Common Rules set.

....




回答2:


To create a new notebook and attach it to a Spark cluster in Azure DataBricks, select NewNotebook on the landing page in your DataBricks portal.

Give the notebook a unique name, and click Create.

Once the notebook has been created, select Detached in the upper left-hand corner, and then select the cluster you wish to connect to. If the circle next to cluster's name is grey, it must be restarted.

For full documentation on working with DataBricks on Azure, including a Quickstart for running a Spark SQL job, check out http://docs.microsoft.com.




回答3:


We found the issue. This was due to some blocked outbound access that our IT had configured. When we tried from home network, it worked.

Thanks



来源:https://stackoverflow.com/questions/50578785/azure-databricks-never-connects

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!