Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

How do I block Ambari from creating Hive View on its restart?

avatar
New Member

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?

1 ACCEPTED SOLUTION

avatar
Not applicable

@Takefumi OHIDE

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

View solution in original post

2 REPLIES 2

avatar
Not applicable

@Takefumi OHIDE

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

avatar
New Member

Thank you very much! It went well!