Support Questions

Find answers, ask questions, and share your expertise

Tez error everytime I try to install a service

avatar
Explorer

71403-tez.png

I get the following error in tez everytime I try to install a service

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Victor

Please try this, Login to Ambari UI and then navigate to :

Tez --> Configs --> Advanced --> "Advanced tez-site" and then check if it has the property "tez.tez-ui.history-url.base" set already ?


If the value if not set for the property "tez.tez-ui.history-url.base" then please click on the "Custom tez-site" (expand) and then click on "Add Property" link then add the following value:

Example:

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


NOTE: Please make sure to replace the "http://ambariserver.exmaple.com:8080" with your own ambari server URL and then restart required services after saving this.

.

View solution in original post

5 REPLIES 5

avatar
Master Mentor

@Victor

Please try this, Login to Ambari UI and then navigate to :

Tez --> Configs --> Advanced --> "Advanced tez-site" and then check if it has the property "tez.tez-ui.history-url.base" set already ?


If the value if not set for the property "tez.tez-ui.history-url.base" then please click on the "Custom tez-site" (expand) and then click on "Add Property" link then add the following value:

Example:

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


NOTE: Please make sure to replace the "http://ambariserver.exmaple.com:8080" with your own ambari server URL and then restart required services after saving this.

.

avatar
Master Mentor

@Victor

In Older version of ambari (Like Ambari 2.4.2) the property value used to be slightly different like following

Example: (for example only)

tez.tez-ui.history-url.base=http://ambariserver.example.com:8080/#/main/views/TEZ/0.7.0.2.5.3.0-136/TEZ_CLUSTER_INSTANCE


So please let us know your exact ambari version as well.

avatar
Explorer

@Jay Kumar SenSharma

My ambari is Version 2.6.1.0

Also, I don't seem to have "tez.tez-ui.history-url.base" but I have "tez.am.tez-ui.history-url.template", Is that the same thing ?

The value there is

__HISTORY_URL_BASE__?viewPath=%2F%23%2Ftez-app%2F__APPLICATION_ID__

71426-tex.png

avatar
Master Mentor

@Victor

The property "tez.tez-ui.history-url.base" is missing in your case. Please do the following to fix it.

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


Example:

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


Please make sure to replace the "http://ambariserver.exmaple.com:8080" with your own ambari server URL and then restart required services after saving this.

.

avatar
Explorer
@Jay Kumar SenSharma

Hi, this worked! The error does not show anymore. Can you kindly explain what was that error about? and if it effected previously installed services.