Support Questions
Find answers, ask questions, and share your expertise

Tez view issue 404 not connecting to YARN timeline

Highlighted

Tez view issue 404 not connecting to YARN timeline

Explorer

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

6 REPLIES 6
Highlighted

Re: Tez view issue 404 not connecting to YARN timeline

@Uvaraj Seerangan

Please verify the proxy parameters, follow below link to set them up.

http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-views/content/configuring_tez_in_y...

Hope this helps you.

Highlighted

Re: Tez view issue 404 not connecting to YARN timeline

Super Mentor

@Uvaraj Seerangan

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

.

Highlighted

Re: Tez view issue 404 not connecting to YARN timeline

Explorer

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.

Highlighted

Re: Tez view issue 404 not connecting to YARN timeline

New Contributor

Facing the same issue. Any update on this?

Highlighted

Re: Tez view issue 404 not connecting to YARN timeline

Comment by @Jay SenSharma should fix the issue. :)

Highlighted

Re: Tez view issue 404 not connecting to YARN timeline

New Contributor

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?

Don't have an account?