无法创建隧道并连接到 jupyter 接口
unable to create tunnel and connect to jupyter interface
我正在创建一个 ssh 隧道并配置浏览器以连接到 google 云 dataproc 中的笔记本界面,我通过 putty 创建隧道,它可以工作,但是当我打开 url http://clustername-m:port, 显示时间过长和超时。
感谢帮助!
如果您使用的是 PuTTY,您需要确保 dynamic port forwarding in the PuTTY UI if you're intending to use hostnames like that. You might also need to force your browser to do DNS resolution on the proxy host 设置正确:
--host-resolver-rules='MAP * 0.0.0.0, EXCLUDE localhost'
最后,如果您使用 Jupyter 或 Zeppelin 只使用 Dataproc Component Gateway with Dataproc Optional Components,您可能会发现这一切都更容易,然后您根本不需要设置任何 SSH 隧道来使用 UI。请记住,目前组件网关仅处于 Alpha 阶段,因此在可靠性方面可能会出现错误。
我正在创建一个 ssh 隧道并配置浏览器以连接到 google 云 dataproc 中的笔记本界面,我通过 putty 创建隧道,它可以工作,但是当我打开 url http://clustername-m:port, 显示时间过长和超时。
感谢帮助!
如果您使用的是 PuTTY,您需要确保 dynamic port forwarding in the PuTTY UI if you're intending to use hostnames like that. You might also need to force your browser to do DNS resolution on the proxy host 设置正确:
--host-resolver-rules='MAP * 0.0.0.0, EXCLUDE localhost'
最后,如果您使用 Jupyter 或 Zeppelin 只使用 Dataproc Component Gateway with Dataproc Optional Components,您可能会发现这一切都更容易,然后您根本不需要设置任何 SSH 隧道来使用 UI。请记住,目前组件网关仅处于 Alpha 阶段,因此在可靠性方面可能会出现错误。