Replies: 2
Any tez jobs that I start in HDP Sandbox 2.1 are listed in the hue job browser, but the job details are not accessible.
E.g.,
http://localhost:8000/jobbrowser/jobs/application_1399046341271_0002 produces following output:
Could not find job application_1399046341271_0002. The job might not be running yet.
Job job_1399046341271_0002 could not be found: {"RemoteException":{"exception":"NotFoundException","message":"java.lang.Exception: job, job_1399046341271_0002, is not found","javaClassName":"org.apache.hadoop.yarn.webapp.NotFoundException"}} (error 404)
From the logs, it seems that the job browser makes the correct call, but cannot interpret the result:
[...]
[02/May/2014 09:48:30 +0000] http_client DEBUG GET http://sandbox.hortonworks.com:8088/ws/v1/cluster/apps/application_1399046341271_0011
[02/May/2014 09:48:30 +0000] access INFO 10.0.2.2 hue - "GET /jobbrowser/jobs/application_1399046341271_0011 HTTP/1.0"
[02/May/2014 09:48:30 +0000] resource DEBUG GET Got response: {"apps":null}
[...]
When I execute this call manually, I get the following result:
[root@sandbox ~]# curl http://sandbox.hortonworks.com:8088/ws/v1/cluster/apps/application_1399046341271_0011
{"app":{"id":"application_1399046341271_0011", [...]
It seems that hue job browser is expecting an additional “apps” key in the json result instead of looking directly at “app”.