[英]Connect to an existing interactive glue session
I am using an AWS Glue interactive notebook to parse a very large JSON file from S3 using PySpark. I created a notebook, kicked off the session, and began reading in my file.我正在使用 AWS Glue 交互式笔记本从 S3 使用 PySpark 解析一个非常大的 JSON 文件。我创建了一个笔记本,启动了 session,并开始阅读我的文件。 While loading, my AWS console session expired and when I reloaded the tab I was no longer connected to my session.
加载时,我的 AWS 控制台 session 已过期,当我重新加载选项卡时,我不再连接到我的 session。
If I start a new interactive session and run %list_sessions
, I can see the id of my previous session. How do I reconnect to this session in my notebook to pick up where I left off?如果我开始一个新的交互式 session 并运行
%list_sessions
,我可以看到我以前的 session 的 ID。我如何在我的笔记本中重新连接到这个 session 以从我离开的地方继续?
This happened to me.这发生在我身上。 I had to search through my browser history for the link and that worked for me.
我必须在我的浏览器历史记录中搜索链接,这对我有用。
I can't find an obvious solution, but that worked for me.我找不到明显的解决方案,但这对我有用。
** note all scripts and code will be gone when you reconnect. ** 请注意,当您重新连接时,所有脚本和代码都将消失。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.