Created on 03-09-2018 09:22 AM - edited 08-18-2019 02:50 AM
Hello , I have this error while adding any service using ambari "add service"
Created 03-09-2018 11:26 AM
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.
Created 03-09-2018 09:55 AM
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)
.
Created on 03-09-2018 10:48 AM - edited 08-18-2019 02:50 AM
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__ "
Created 03-09-2018 10:55 AM
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.
.
Created 03-09-2018 10:58 AM
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.
Created on 03-09-2018 11:11 AM - edited 08-18-2019 02:50 AM
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 ?
Created 03-09-2018 11:26 AM
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.