Support Questions

Find answers, ask questions, and share your expertise

Tez error while adding a service in ambari

avatar

Hello , I have this error while adding any service using ambari "add service"

64554-errortez.png

1 ACCEPTED SOLUTION

avatar
Master Mentor

@maha Rm

Ambari 2.2.0 is really too old. The latest ambari version is 2.6.1.5

So if you are planning to upgrade ambari then that is really best as it has many enhancements , better performance, and lots of bug fixes.

https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.5/bk_ambari-upgrade/content/ambari_upgrade_gu...

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.4/bk_support-matrices/content/ch_matrices-amb...

View solution in original post

6 REPLIES 6

avatar
Master Mentor

@maha Rm

Can you please login to ambari ui and then navigate to

 "Tez" --> Configs --> Advanced --> "Advanced tez-site" and then look for a property "tez.tez-ui.history-url.base"


And then set the value as following:

tez.tez-ui.history-url.base = http://$AMBARI_SERVER_HOST:8080/#/main/view/TEZ/tez_cluster_instance

.

NOTE: Please replace the "AMBARI_SERVER_HOST" value with the actual FQDN (hostname) of the ambari server here and then save the config changes.

Example:

tez.tez-ui.history-url.base = http://amb25101.example.com:8080/#/main/view/TEZ/tez_cluster_instance

Then restart the services that requires restart for this config change to take effect and then you should be all set to add new services. (assuming ambari server hostname is amnb25101.example.com above should be the URL)

.

avatar

64561-tez.png

I found this but it is already set.

tez.am.tez-ui.history-url.template = "__HISTORY_URL_BASE__?viewPath=%2F%23%2Ftez-app%2F__APPLICATION_ID__ "

avatar
Master Mentor

@maha Rm

You will find "Custom tez-site" inside the

 "Tez" --> Configs --> Advanced --> "Custom tez-site" 

The click on "Add Property" link and then add that property "tez.tez-ui.history-url.base" with the appropriate value.

.

avatar
Master Mentor

@maha Rm

Looks like your ambari version is too old. In old version of ambari the value for this setting was

tez.am.tez-ui.history-url.base=__HISTORY_URL_BASE__?viewPath=%2F%23%2Ftez-app%2F__APPLICATION_ID__

.

In later version it uses the Ambari URL with Tez view path on it.

So please try setting this value there.

avatar

64562-errorstillremains.png

I have add a property and the error is gone but the installation failed , Should i upgrade ambari ? what do u recomend for me to do ?

avatar
Master Mentor

@maha Rm

Ambari 2.2.0 is really too old. The latest ambari version is 2.6.1.5

So if you are planning to upgrade ambari then that is really best as it has many enhancements , better performance, and lots of bug fixes.

https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.5/bk_ambari-upgrade/content/ambari_upgrade_gu...

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.4/bk_support-matrices/content/ch_matrices-amb...