Created 03-24-2017 02:55 PM
I have executed Hive queries but Tez view says "No data available". When I click "History" links in RM it redirect to Tez view.
Tez view shows the below error.
Details: {
"trace": "{\"exception\":\"NotFoundException\",\"message\":\"java.lang.Exception: Timeline entity { id: tez_application_1490359925913_0002, type: TEZ_APPLICATION } is not found\",\"javaClassName\":\"org.apache.hadoop.yarn.webapp.NotFoundException\"}",
"message": "Failed to fetch results by the proxy from url: http://localhost:8188/ws/v1/timeline/TEZ_APPLICATION/tez_application_1490359925913_0002?_=1490365592944&user.name=admin",
"status": 404 }
Request: {
"adapterName": "app",
"url": "http://localhost:8080/api/v1/views/TEZ/versions/0.7.0.2.5.3.0-136/instances/TEZ_CLUSTER_INSTANCE/resources/atsproxy/ws/v1/timeline/TEZ_APPLICATION/tez_application_1490359925913_0002",
"responseHeaders": { "User": "admin", "Server": "Jetty(8.1.19.v20160209)", "X-Frame-Options": "SAMEORIGIN", "Content-Length": "489", "X-XSS-Protection": "1; mode=block", "Content-Type": "application/json" }
}
Stack: Error: Adapter operation failed
at ember$data$lib$adapters$errors$AdapterError.EmberError (http://localhost:8080/views/TEZ/0.7.0.2.5.3.0-136/TEZ_CLUSTER_INSTANCE/assets/vendor.js:24586:21)
at ember$data$lib$adapters$errors$AdapterError (http://localhost:8080/views/TEZ/0.7.0.2.5.3.0-136/TEZ_CLUSTER_INSTANCE/assets/vendor.js:80222:50)
at Class.handleResponse (http://localhost:8080/views/TEZ/0.7.0.2.5.3.0-136/TEZ_CLUSTER_INSTANCE/assets/vendor.js:81517:16)
at Class.hash.error (http://localhost:8080/views/TEZ/0.7.0.2.5.3.0-136/TEZ_CLUSTER_INSTANCE/assets/vendor.js:81597:33) at fire (http://localhost:8080/views/TEZ/0.7.0.2.5.3.0-136/TEZ_CLUSTER_INSTANCE/assets/vendor.js:3320:30)
at Object.fireWith [as rejectWith] (http://localhost:8080/views/TEZ/0.7.0.2.5.3.0-136/TEZ_CLUSTER_INSTANCE/assets/vendor.js:3432:7)
at done (http://localhost:8080/views/TEZ/0.7.0.2.5.3.0-136/TEZ_CLUSTER_INSTANCE/assets/vendor.js:8487:14)
at XMLHttpRequest.<anonymous> (http://localhost:8080/views/TEZ/0.7.0.2.5.3.0-136/TEZ_CLUSTER_INSTANCE/assets/vendor.js:8826:9
I have checked the Application log and its seems to be fine and no error,
yarn logs -applicationId application_1490359925913_0002
Created 03-24-2017 03:01 PM
Please verify the proxy parameters, follow below link to set them up.
Hope this helps you.
Created 03-24-2017 03:58 PM
As you are getting the error as :
"trace": "{\"exception\":\"NotFoundException\",\"message\":\"java.lang.Exception: Timeline entity { id: tez_application_1490359925913_0002, type: TEZ_APPLICATION } is not found\",\"javaClassName\":\"org.apache.hadoop.yarn.webapp.NotFoundException\"}", "message": "Failed to fetch results by the proxy from url: http://localhost:8188/ws/v1/timeline/TEZ_APPLICATION/tez_application_1490359925913_0002?_=1490365592944&user.name=admin",
So please first check if your "tez-site.xml" file has the following property set properly ?
tez.am.view-acls=*
Also check if disabling the ACL at Yarn config works for you? Because in your error we see "user.name=admin" so either add the admin user to the yarn acl or disable the acl for the moment and then try again.
yarn.admin.acl = yarn,dr.who,admin yarn.acl.enable=false
.
Created 03-27-2017 05:04 AM
Thanks for reply,
@SBandaru
We have verified the proxy setting and its looks fine as per the provided link.
@Jay SenSharma
We have applied ACL's as you have mentioned but issue still there.
Please let us know if there any other ways to fix this issue.
Created 05-26-2017 11:54 PM
Facing the same issue. Any update on this?
Created 05-27-2017 12:48 AM
Comment by @Jay SenSharma should fix the issue. 🙂
Created 06-02-2017 06:54 PM
Assuming ATS is available at localhost. Can you please confirm if "http://localhost:8188/ws/v1/timeline/TEZ_APPLICATION?limit=1" is returning any value?