Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

TEZ VIEW failed to fetch result

Highlighted

TEZ VIEW failed to fetch result

Explorer

Team,

Iam getting below error while searching with application id.

Adapter operation failed » 404: Failed to fetch results by the proxy from url: http://*****.com:8188/ws/v1/timeline/HIVE_QUERY_ID/hive_20171102063014_0c78b9ca-8511-4846-

trace": "{\"exception\":\"NotFoundException\",\"message\":\"java.lang.Exception: Timeline entity { id: hive_20171102063014_0c78b9ca-8511-4846-a15e-5e2e10f952d2, type: HIVE_QUERY_ID } is not found\",\"javaClassName\":\"org.apache.hadoop.yarn.webapp.NotFoundException\"}", "message": "Failed to fetch results by the proxy from url: http://******com:8188/ws/v1/timeline/HIVE_QUERY_ID/hive_20171102063014_0c78b9ca-8511-4846-a15e-5e2e10f952d2?_=1509619098705", "status": 404 }

Request:

{ "adapterName": "hive-query", "url": "https:// *******.com:8443/api/v1/views/TEZ/versions/0.7.0.2.6.1.0-118/instances/TEZ_CLUSTER_INSTANCE/resources/atsproxy/ws/v1/timeline/HIVE_QUERY_ID/hive_20171102063014_0c78b9ca-8511-4846-a15e-5e2e10f952d2", "responseHeaders": { "pragma": "no-cache", "strict-transport-security": "max-age=31536000", "x-content-type-options": "nosniff", "x-frame-options": "SAMEORIGIN", "content-type": "application/json", "cache-control": "no-store", "user": "sboppun", "content-length": "495", "x-xss-protection": "1; mode=block" }, "namespace": "queries" }

Stack:

Error: Adapter operation failed at ember$data$lib$adapters$errors$$AdapterError.EmberError (https:// *******.com:8443/views/TEZ/0.7.0.2.6.1.0-118/TEZ_CLUSTER_INSTANCE/assets/vendor.js:24586:21) at new ember$data$lib$adapters$errors$$AdapterError (https:// *******.com:8443/views/TEZ/0.7.0.2.6.1.0-118/TEZ_CLUSTER_INSTANCE/assets/vendor.js:80222:50) at Class.handleResponse (https:// *******.com:8443/views/TEZ/0.7.0.2.6.1.0-118/TEZ_CLUSTER_INSTANCE/assets/vendor.js:81517:16) at Class.hash.error (https:// *******.com:8443/views/TEZ/0.7.0.2.6.1.0-118/TEZ_CLUSTER_INSTANCE/assets/vendor.js:81597:33) at fire (https:// *******.com:8443/views/TEZ/0.7.0.2.6.1.0-118/TEZ_CLUSTER_INSTANCE/assets/vendor.js:3320:30) at Object.fireWith [as rejectWith] (https://******al.com:8443/views/TEZ/0.7.0.2.6.1.0-118/TEZ_CLUSTER_INSTANCE/assets/vendor.js:3432:7) at done (https://*******.com:8443/views/TEZ/0.7.0.2.6.1.0-118/TEZ_CLUSTER_INSTANCE/assets/vendor.js:8487:14) at XMLHttpRequest.<anonymous> (https:// *******.com:8443/views/TEZ/0.7.0.2.6.1.0-118/TEZ_CLUSTER_INSTANCE/assets/vendor.js:8826:9)

3 REPLIES 3
Highlighted

Re: TEZ VIEW failed to fetch result

Super Mentor

@suresh krish

Can you please 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


Also can you please confirm if "http://******com:8188/ws/v1/timeline/TEZ_APPLICATION?limit=1" is returning any value?

.

Re: TEZ VIEW failed to fetch result

Explorer

Hii Jai,

thanks for your reply. evertying is same as you mentioned... i am also getting all the application id details in the url which is in the bottom.

Highlighted

Re: TEZ VIEW failed to fetch result

@suresh krish

The error seems to be with Ambari Principal proxy's both in yarn-site.xml and core-site.xml. Can you please check if appropriate proxy's parameter got added with respective to Ambari principal and Keytabs. Even if possible reset Kerberos setup for Ambari and restart the Ambari

Below link might help you.

https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.1/bk_ambari_views_guide/content/section_kerbe...

Hope this helps you.

Don't have an account?
Coming from Hortonworks? Activate your account here