首页 > 解决方案 > AWS Glue 失败时出现“日志组不存在”

问题描述

我第一次使用 AWS Glue 的作业,所以我的作业不起作用是正常的,但我看不到任何关于错误的详细日志,因为当我单击“错误日志”链接或“日志”链接我总是在 AWS CloudWatch 中收到此消息:

* Log group does not exist
The specific log group: /aws-glue/jobs/error does not exist in this account or region.

* An error occurred while describing log streams.
c.substring is not a function

如何查看 AWS Glue 日志?AWS Glue 不会自动创建日志组吗?

标签: amazon-cloudwatchaws-glueaws-glue-spark

解决方案


检查您的 IAM 角色是否附加了 AWSGlueServiceRole 策略,一旦您确认在故障发生之前将日志放置在正确的位置。


推荐阅读