Hi Dave,
I don’t remember I found something interesting in the logs.
Something along these lines:
{"errorResponse":{"statusCode":500, "status":"Internal Server Error",
"messageCode":"INTERNAL ERROR", "message":"XDMP-EXTIME:
map:put(map:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" .../>), $graph,
(map:get(map:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" .../>), $graph), .)) --
Time limit exceeded
Yes, I’ve used mlcp to load the billion triples in the triple store.
What I want know it to do multithreading operations to update my dataset.
Best,
Ghislain
> Le 12 avr. 2017 à 17:30, Dave Cassel <[email protected]> a écrit :
>
> With a 500 Internal Server Error, you should have something in the ErrorLog.
> Can you send what you find there?
>
> I've never posted directly to /v1/graphs; I've always used mlcp to load
> triples: http://docs.marklogic.com/guide/mlcp/import#id_32771
> <http://docs.marklogic.com/guide/mlcp/import#id_32771>. You could try that as
> an alternative.
>
> --
> Dave Cassel, @dmcassel <https://twitter.com/dmcassel>
> Technical Community Manager
> MarkLogic Corporation <http://www.marklogic.com/>
> http://developer.marklogic.com/ <http://developer.marklogic.com/>
>
> From: <[email protected]
> <mailto:[email protected]>> on behalf of Ghislain
> Atemezing-Pro <[email protected]
> <mailto:[email protected]>>
> Reply-To: MarkLogic Developer Discussion <[email protected]
> <mailto:[email protected]>>
> Date: Wednesday, April 12, 2017 at 11:18 AM
> To: MarkLogic Developer Discussion <[email protected]
> <mailto:[email protected]>>
> Subject: [MarkLogic Dev General] Updating graph with Curl
>
> Hello,
>
> I am having an issue when trying to update my endpoint using curl with some
> triples in a .nq file. The file contains almost 2Mio triples and I wanted to
> update my repository.
>
> Here is the command:
> curl --anyauth --user mondeca:MdK2016! -i -X POST --data-binary
> @./<myfile>.nq -H "Content-type: application/n-quads"
> 'http://myhost:8000/v1/graphs?database=m
> <http://localhost:8000/v1/graphs?database=opoceProd>ydataset'
>
>
> I am having timeout after setting the limit to 600s and 1200s.
> Below is the error I receive:
>
> HTTP/1.1 500 Internal Server Error
> Content-type: application/json; charset=UTF-8
> Server: MarkLogic
> Content-Length: 500
> Connection: Keep-Alive
> Keep-Alive: timeout=5
>
>
> Is there any good practice to do for this kind of task?
> Am I using a wrong Curl command to update my repository?
>
> Thanks in advance for any help.
>
> Best,
> Ghislain
>
> --
> --------------------------------------------
> Ghislain A. Atemezing, Ph.D
> R&D Engineer
> @ Mondeca, Paris, France
> Labs: http://labs.mondeca.com <http://labs.mondeca.com/>
> Tel: +33 (0)1 4111 3034
> Web: www.mondeca.com <http://www.mondeca.com/>
> Twitter: @gatemezing
> About Me: http://atemezing.org <http://atemezing.org/>
>
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
--------------------------------------------
Ghislain A. Atemezing, Ph.D
R&D Engineer SemWeb
@ Mondeca, Paris, France
Labs: http://labs.mondeca.com <http://labs.mondeca.com/>
Tel: +33 (0)1 4111 3034
Web: www.mondeca.com <http://www.mondeca.com/>
Twitter: @gatemezing
About Me: https://w3id.org/people/gatemezing
<https://w3id.org/people/gatemezing>
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general