- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How do I block Ambari from creating Hive View on its restart?
- Labels:
-
Apache Ambari
-
Apache Hive
Created ‎08-03-2016 10:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much! It went well!
