【发布时间】:2020-02-19 09:05:43
【问题描述】:
无法运行 AWS Glue Sagemaker Notebook,它在启动时抛出错误。如果我在这里遗漏了什么,谁能告诉我?
PS:按照错误日志中的建议,我重新启动了几次内核,但没有帮助。
import sys
from awsglue.transforms import *
from awsglue.utils import getResolvedOptions
from pyspark.context import SparkContext
from awsglue.context import GlueContext
from awsglue.job import Job
glueContext = GlueContext(SparkContext.getOrCreate())
错误
The code failed because of a fatal error:
Error sending http request and maximum retry encountered..
Some things to try:
a) Make sure Spark has enough available resources for Jupyter to create a Spark context.
b) Contact your Jupyter administrator to make sure the Spark magics library is configured correctly.
c) Restart the kernel.
【问题讨论】:
-
您好 Nagaraju Budigam,您能否提供重现此问题的步骤?您是否为此设置关注了任何博客文章?谢谢!
-
我也遇到了这个问题,请问您找到解决方法了吗?
标签: python apache-spark pyspark amazon-sagemaker