azure-dsvm

Retrieve data from Azure HDInsight with PySpark

空扰寡人 提交于 2019-12-24 05:04:57
问题 I have the credentials and the URL for access to an Azure database. I want to read the data using pyspark but I don't know how to do it. Is there a specific syntax to connect to an Azure database? EDIT After I used the shared code I received this kind of error, any suggestion? I saw that in a sample that i have on the machine they use ODBC driver, maybe this is involved? 2018-07-14 11:22:00 WARN SQLServerConnection:2141 - ConnectionID:1 ClientConnectionId: 7561d3ba-71ac-43b3-a35f-26ababef90cc

Can't reach Jupyter Notebooks on Azure Deep Learning Virtual Machine

牧云@^-^@ 提交于 2019-12-08 08:05:51
问题 I followed the instructions here. I am on the Ubuntu VM via SSH. I tried to access IP:8000 but Chrome says the Site can't be reached. Port 8000 is indeed open by default as mentioned in the docs. Instructions don't mention if I have to start jupyterhub so I tried that and got this error - username@fastai:~ $ jupyterhub [I 2018-04-02 00:25:41.018 JupyterHub app:871] Writing cookie_secret to /home/username/jupyterhub_cookie_secret [I 2018-04-02 00:25:41.036 alembic.runtime.migration migration