Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to login SSH on Azure Databricks cluster

I used the following ubuntu command to access SSH login as,

ssh user@hostname_or_IP

  • Can able to see Master node hostname
  • but not able to get the username from Azure Databricks cluster

Refer this doc, https://docs.azuredatabricks.net/user-guide/clusters/spark-config.html#spark-config

like image 728
dwayneJohn Avatar asked Dec 05 '17 06:12

dwayneJohn


People also ask

How does Databricks autoscale work?

With autoscaling local storage, Databricks monitors the amount of free disk space available on your cluster's Spark workers. If a worker begins to run too low on disk, Databricks automatically attaches a new EBS volume to the worker before it runs out of disk space.


1 Answers

Unfortunately, we cannot SSH to the Cluster for now.

I did a test in my lab:

There was a SSH section in the Cluster configuration. But now, we cannot see it here.

enter image description here

Also, I found the VMs behind the Databricks in a resource group, I try to change the SSH configuration from portal but failed. Then I found the Databricks resource group has been locked to Read-Only. You cannot delete it from portal neither.

enter image description here

I tried to found the cause why cannot SSH the Cluster behind the Databricks, I saw the NSG rule of the VMs which belongs to that Databricks :

enter image description here

It means that Azure Databricks only allow only one source to SSH the VM, and the source is Databricks control plane . We can also understand this in the picture of Architecture of Azure Databricks:

enter image description here

Azure Databricks is a very new feature in Azure. I believe it will be better in future.You can post your idea in Azure Feedback Forum or in this blog's comment. Azure Team will review it .

Hope this helps!

like image 152
Wayne Yang Avatar answered Sep 27 '22 15:09

Wayne Yang