amazon-cloudwatch - 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 不会自动创建日志组吗?
解决方案
检查您的 IAM 角色是否附加了 AWSGlueServiceRole 策略,一旦您确认在故障发生之前将日志放置在正确的位置。
推荐阅读
- winforms - Windows 窗体“部署任务”失败并显示“该进程无法访问该文件,因为它正被另一个进程使用。” 在 .NET5 中
- java - Randoop 为所有类生成具有相同名称的测试
- winapi - 我怎么知道 KSDATAFORMAT_SUBTYPEs 想要什么?
- terraform - Terraform AWS 提供商的本地来源
- javascript - React - Date-fns 获取时区
- php - 为什么 PHP 要求将参数传递给匿名类?
- html - CSS 投影效果无法正确显示
- linux - kubernetes容器参数中的-c是什么
- python - 使用 Django REST API 和 Django 模板
- java - 如何使背景图像在android中填充全屏?