Я выполнил следующие действия, чтобы
- создайте соединение AWS Glue с Opensearch с соответствующей ролью IAM (AmazonOpenSearchServiceFullAccess) и секретами (имя пользователя и пароль)
- создайте ETL задание с использованием AWS Glue Visual ETL
Код: Выделить всё
Error Category: UNCLASSIFIED_ERROR; Failed Line Number: 20; An error occurred while calling o134.getSink. Unable to execute HTTP request: Network is unreachable
Код: Выделить всё
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"
)
Подробнее здесь: https://stackoverflow.com/questions/792 ... opensearch