[ 
https://issues.apache.org/jira/browse/AMBARI-10360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14519644#comment-14519644
 ] 

Jeff Sposetti commented on AMBARI-10360:
----------------------------------------

To apply the attached file to an Ambari 2.0.0:
1. Download the attached hive_service.py file.
2. On the Ambari Server host, replace 
/var/lib/ambari-server/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_service.py
 with the attached file
3. Restart Ambari Server.
4. From Ambari Web, browse to Services > Hive and perform Hive stop/start to 
make sure it is working properly

> HS2 fails to start when databases exist with LOCATION's outside of 
> hive.metastore.warehouse.dirs
> ------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-10360
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10360
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>            Priority: Blocker
>             Fix For: 2.1.0, 2.0.1
>
>         Attachments: AMBARI-10360.patch, hive_service.py
>
>
> When you have databases with a LOCATION that is outside of the 
> hive.metastore.warehouse.dir, the start operations fails as it attempts to 
> run the hive metatool service. This prevents HS2 from being started until you 
> drop all tables that are outside of the hive.metastore.warehouse.dir.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to