Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Error Code 500: While accessing the Tez view in Ambari2.2.2

avatar
Contributor

Hi,

I have Ambari 2.2.2 in which while accessing the TEZ view i am facing below error.

error code: 500, message: Internal Server Error{"trace":null,"message":"RA070 View is not cluster as...Could not retrieve expected data from Timeline Server @ http://FQDN:8080/api/v1/views/TEZ/versions/0.7.0.2.3.4.0-460/instances/TEZ_CLUSTER_INSTANCE/resource...

Please suggest me to get out of this .

1 ACCEPTED SOLUTION

avatar
Master Mentor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
7 REPLIES 7

avatar
Master Mentor

@Rohit Sharma

1. Do you see any response from the following URL:

  http://<${ATS_HOSTNAME}:${ATS_PORT}/ws/v1/timeline/TEZ_DAG_ID?limit=1

2. Do you have YARN ACLs is enabled ?

3. Do you have the following settings in your "yarn-site.xml" ?

  "yarn.timeline-service.enabled"
  "yarn.timeline-service.webapp.address"   this  Value must be the IP:PORT on which timeline server is running

4. Do you see the complete error stack trace in the ambari-server log? Can you please share the log.

5. Also please check the ATS log to see if there is any error.

6. Do you have ResourceManager HA enabled?

.

avatar
Contributor

ambar-server1.txt

@Jay SenSharma ,

1) The output of http://<${ATS_HOSTNAME}:${ATS_PORT}/ws/v1/timeline/TEZ_DAG_ID?limit=1 is:

{ "status": 404, "message": "Not Found" }.

2) Yes YARN ACLs is enabled.

3)YES the settings are present in yarn-site.xml.

4)The ambari-server log attached file.

5)No error in ATS log.

6)RM HA is not enabled.

avatar
Contributor

avatar
Master Mentor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Contributor

@Jay SenSharma

Yes i am using a default Tez view.This is the screenshot.

16675-tez-instance.png

But from your above reply i got a temporary solution. I created a new Instance of TEZ-View and its working. But the all my last query DAG are not imported in this new view.

Any suggestions???

avatar
Master Mentor

@Rohit Sharma

Do you have a Kerberzed environment ?

If yes then in order to see any DAG information please do the following in your Yarn config:

yarn.admin.acl = yarn,dr.who,admin
yarn.acl.enable=false

Also check if your "tez-site.xml" file has the following property set properly ?

tez.am.view-acls=*

.

avatar
Contributor

@Jay SenSharma

No! I do not have a Kerberzed environment, then what step should be taken.

And the tez-site.xml has following entry:

<property>

<name>tez.am.view-acls</name>

<value>*</value>

</property>