executing a sample job using curl -iku guest:guest-password -X POST -d arg=/user/guest/knox-sample/input -d arg=/user/guest/knox-sample/output -d jar=/user/guest/knox-sample/lib/hadoop-examples.jar -d class=wordcount https://localhost:8443/gateway/sandbox/templeton/v1/mapreduce/jar
throws exception:
HTTP/1.1 500 Server Error
Set-Cookie: JSESSIONID=nudt2jfbtz4q1r0sx5p3nauq3;Path=/gateway/sandbox;Secure;HttpOnly
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Server: Jetty(7.6.0.v20120127)
Content-Type: application/json
Content-Length: 136
{"error":"Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses.