【发布时间】:2021-10-02 11:51:06
【问题描述】:
我正在尝试将 RDF N-triples 数据从 S3 存储桶批量加载到 Neptune 加载程序中。我已经按照以下链接 https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-data.html 创建了一个 S3 存储桶、IAM 角色、端点和 Neptune 集群。
我正在尝试使用命令提示符从 Windows 本地执行 CURL 命令以加载数据,
curl -X POST -H "Content-Type: application/json" https://<clusterEndpoint>:<clusterPort>/loader -d "{\"source\":\"s3://<bucketName>\",\"format\":\"ntriples\",\"iamRoleArn\":\"arn:aws:iam::<account-id>:role/<role-name>\",\"region\":\""<region>\",\"failOnError\":\"FALSE\",\"parallelism\":\"MEDIUM\",\"updateSingleCardinalityProperties\":\"FALSE\",\"queueRequest\":\"TRUE\"}"
在执行上述 Curl 命令时,我收到以下错误,
Failed to connect to <neptuneClusterEndoint> port <portNumber>: Timed out
另外,当我尝试使用命令 curl http://<neptuneCluster>:<portNumber>/status 检查集群状态时,我遇到了同样的超时错误。
我正在尝试使用 Curl 命令进行 Neptune 加载而不创建 EC2 实例。我可以知道为什么我收到连接失败错误吗?有没有办法使用 curl 命令成功加载 Neptune?
【问题讨论】:
标签: amazon-web-services curl amazon-neptune