Created 08-03-2016 10:37 AM
I found that Ambari creates Hive View on its restart automatically. But I want to block that.
How do I block Ambari from creating Hive View on its restart?
Created 08-03-2016 10:45 AM
Normally the view registration happens via "ViewRegistry" class during the startup operation of ambari server.
The views are present in the following location:
cd /var/lib/ambari-server/resources/views
If you do not want to hive view then you can try the following:
Move the hive view jar to some other place.
mv /var/lib/ambari-server/resources/views/hive-2.2.2.0.460.jar /Someo_other_place ## Now delete to work directory content which is created with the view jar content cd /var/lib/ambari-server/resources/views rm -rf work/HIVE\{1.0.0\}/
Then restart the ambari-server
Created 08-03-2016 10:45 AM
Normally the view registration happens via "ViewRegistry" class during the startup operation of ambari server.
The views are present in the following location:
cd /var/lib/ambari-server/resources/views
If you do not want to hive view then you can try the following:
Move the hive view jar to some other place.
mv /var/lib/ambari-server/resources/views/hive-2.2.2.0.460.jar /Someo_other_place ## Now delete to work directory content which is created with the view jar content cd /var/lib/ambari-server/resources/views rm -rf work/HIVE\{1.0.0\}/
Then restart the ambari-server
Created 08-03-2016 11:22 AM
Thank you very much! It went well!