You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, our implementation utilizing Manta's GetJobOutput() only returns a result set size header. The response is a stream to accommodate tail -f behavior and it doesn't look like we're returning the path to the Manta Job result object.
To illustrate, here's an actual request/response which includes the result object path...
GET /testacct/jobs/aabbccdd-0859-ccc2-d267-a2b4a0258eac/live/out HTTP/1.1Host: us-east.manta.joyent.comUser-Agent: manta-go client APIAccept: */*Authorization: Signature ...Date: Thu, 27 Jul 2017 17:33:02 UTCAccept-Encoding: gzipConnection: close
From the above example, storage.GetJobOutputOutput{} (ripe for a rename) should include a field called ObjectPath which holds the value of "/testacct/jobs/aabbccdd-0859-ccc2-d267-a2b4a0258eac/stor/reduce.1.359fdfda-53f1-40df-84d7-46b5040ea48a".
Also, if we want to return the object, we could fire a subsequent Objects.Get and attach the returned storage.GetObjectOutput{} which contains an ObjectReader to the actual results. It might make sense to do this on behalf of the user at the cost of a second round trip (but that's debatable).
The text was updated successfully, but these errors were encountered:
Currently, our implementation utilizing Manta's
GetJobOutput()
only returns a result set size header. The response is a stream to accommodatetail -f
behavior and it doesn't look like we're returning the path to the Manta Job result object.To illustrate, here's an actual request/response which includes the result object path...
From the above example,
storage.GetJobOutputOutput{}
(ripe for a rename) should include a field calledObjectPath
which holds the value of"/testacct/jobs/aabbccdd-0859-ccc2-d267-a2b4a0258eac/stor/reduce.1.359fdfda-53f1-40df-84d7-46b5040ea48a"
.Also, if we want to return the object, we could fire a subsequent
Objects.Get
and attach the returnedstorage.GetObjectOutput{}
which contains anObjectReader
to the actual results. It might make sense to do this on behalf of the user at the cost of a second round trip (but that's debatable).The text was updated successfully, but these errors were encountered: