【问题标题】:jupyterlab 500 error from dataproc cluster来自 dataproc 集群的 jupyterlab 500 错误
【发布时间】:2021-03-24 21:09:08
【问题描述】:

我一直在尝试从我的 dataproc 集群中打开 jupyterlab。我上周一直在研究它,内核似乎有一些问题。所以我退出了 jupyterlab 并停止了集群。然后我尝试从集群详细信息中的 Web 界面下的链接再次打开 jupyterlab。然而,从上周三开始,每次我尝试这个我都会收到 500 或 502 错误。错误显示“500。这是一个错误。这就是我们所知道的。”

我不确定在这里做什么。我用谷歌搜索了这个问题,找不到任何有用的东西。

【问题讨论】:

  • 可以尝试ssh进入主节点,重启jupyter服务。
  • 感谢您的回复。抱歉,我对使用 gcloud 平台非常陌生,不知道如何尝试 ssh 进入主节点。你可以解释吗?谢谢。
  • gcloud compute ssh <cluster-name>-m
  • 谢谢,我收到了错误 - (gcloud.compute.start-iap-tunnel) 连接时出错 [4033: 'not authorized']。
  • 好像用的是IAP,需要加--tunnel-through-iap,见cloud.google.com/sdk/gcloud/reference/compute/…

标签: jupyter-lab google-cloud-dataproc


【解决方案1】:

您可以使用gcloud compute ssh <cluster-name>-m SSH 进入主节点,然后检查以下3 个服务的状态:

systemctl status jupyter
systemctl status knox
systemctl status google-dataproc-component-gateway

如果需要,重新启动它们:

sudo systemctl restart jupyter
sudo systemctl restart knox
sudo systemctl restart google-dataproc-component-gateway

另外,请查看/var/log/knox/gateway.log 的 Knox 日志。

【讨论】:

    猜你喜欢
    • 2016-07-14
    • 2020-11-13
    • 1970-01-01
    • 2018-11-11
    • 1970-01-01
    • 2021-12-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多