AWS Glue从Redshift批量迁移数据至OpenSearch时遭遇网络不可达问题求助
AWS Glue从Redshift批量迁移数据至OpenSearch时遭遇网络不可达问题求助
我目前有一个托管式的OpenSearch集群,想要通过AWS Glue把Redshift里的数百条数据批量迁移到OpenSearch中。
我已经按照官方指引完成了以下操作:
- 创建了连接OpenSearch的AWS Glue连接,配置了合适的IAM角色(带
AmazonOpenSearchServiceFullAccess权限)以及存储用户名密码的密钥 - 使用AWS Glue可视化ETL工具创建了对应的ETL作业
我的OpenSearch集群是公网可访问的,但运行作业时还是遇到了如下错误:
Error Category: UNCLASSIFIED_ERROR; Failed Line Number: 20; An error occurred while calling o134.getSink. Unable to execute HTTP request: Network is unreachable
报错的代码行是由Glue可视化ETL自动生成的,具体代码如下:
AmazonOpenSearchService_node1733461823015 = glueContext.write_dynamic_frame.from_options( frame=AmazonRedshift_node1733461813643, connection_type="opensearch", connection_options={"opensearch.resource": "taxi", "connectionName": "opensearch-connection"}, transformation_ctx="AmazonOpenSearchService_node1733461823015" )
有没有大佬能给我一些排查思路或者解决办法呀?
备注:内容来源于stack exchange,提问作者MiketheViking90
相关产品推荐
相关产品推荐

