Success to upload graph (.csv) from S3, but cannot access via notebook

0

Dear respected team,

Hi, I successfully used bulk loader from S3 to Neptune database for SPARQL. However, to compare querying performance SPARQL to gremlin, I uploaded .csv files for vertices and edges in one of my S3 bucket and loaded those files to Neptune database via EC2, using correct command. Then, I did not get error message, just got the message including { "status" : "200 OK". ... }

Unfortunately, I cannot get results when I throw gremlin query below:
%%gremlin
g.V().count()

I think, although the loader sends the status 200 message, .csv files cannot be loaded to my databasecluster.

What can I do for loading .csv files?

OHCH
질문됨 4년 전374회 조회
2개 답변
0

The /loader API returns a status 200 stating that the request has been received successfully. To check the status of the loader job, you should take the loader ID that is also received with the status 200 and send a new request to. This will provide a status of the bulk load job.

[code]https://<cluster_endpoint>:8182/loader/<loader_job_id>[/code]

If you didn't grab the loader ID from the response, querying the /loader API with a GET request will return a list of all of the bulk load job IDs in order of latest to oldest:

[code]https://<cluster_endpoint>:8182/loader[/code]

In addition, you can add the details and errors parameters to the loader id API to see further details of any errors that occurred during the bulk load job:

[code]https://<cluster_endpoint>:8182/loader/<loader_job_id>?details=true&errors=true[/code]

Just to confirm, it is possible to load BOTH RDF and Property Graph datasets into the same Neptune cluster. There's nothing incorrect about your approach. You just need to check the bulk load job for the CSV files (Property Graph data) to see if there may have been some parsing errors or something else that caused the data not to be loaded properly.

Edited by: TaylorR-AWS on Oct 29, 2020 7:32 PM

Edited by: TaylorR-AWS on Oct 29, 2020 7:33 PM

Edited by: TaylorR-AWS on Oct 29, 2020 7:34 PM

profile pictureAWS
답변함 4년 전
0

Thank you for your fast and kind response!

The problem is caused by my organizations' document security policy.

I can get the hint from your advice about printing loader status details and error list.

repeatedly,

Thank you!

OHCH

Edited by: OHCH on Oct 29, 2020 10:46 PM

OHCH
답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인