Hi John,
I replaced the “request” in json with “path” and changed the dataset name to its id as follows. Seems the request was parsed correctly but I still got a 500 status code. The log is also attached.
{
“method”: “GET”,
“path”: “/datasets/d-2f22962d-e0592840-e15c-625d94-9e4cbf/value”,
“params”: {
“domain”: “/home/admin/hsds.hdf5”,
“select”: “[0:100,0:100]”,
“bucket”: “hsds-hyperslab-test”
}
}
REQ> GET: /datasets/d-2f22962d-e0592840-e15c-625d94-9e4cbf/value [/home/admin/hsds.hdf5]
sn INFO> getObjectJson d-2f22962d-e0592840-e15c-625d94-9e4cbf
sn INFO> http_get(‘http+unix://%2Ftmp%2Fhs161b1acd%2Fdn_1.sock/datasets/d-2f22962d-e0592840-e15c-625d94-9e4cbf’)
sn INFO> Initiating UnixConnector with path: /tmp/hs161b1acd/dn_1.sock
sn INFO> Socket Ready: /tmp/hs161b1acd/dn_1.sock
sn INFO> http_get status: 500 for req: http://127.0.0.1/datasets/d-2f22962d-e0592840-e15c-625d94-9e4cbf
sn ERROR> request to http://127.0.0.1/datasets/d-2f22962d-e0592840-e15c-625d94-9e4cbf failed with code: 500
INFO: hsds app stop at 1661538878.1163843
INFO: sending SIGINT to hsds-servicenode
INFO: sending SIGINT to hsds-rangeget
INFO: sending SIGINT to hsds-datanode