Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2E1EC17C45 for ; Wed, 29 Apr 2015 16:18:07 +0000 (UTC) Received: (qmail 24120 invoked by uid 500); 29 Apr 2015 16:18:07 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 24028 invoked by uid 500); 29 Apr 2015 16:18:07 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 23854 invoked by uid 99); 29 Apr 2015 16:18:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Apr 2015 16:18:06 +0000 Date: Wed, 29 Apr 2015 16:18:06 +0000 (UTC) From: "Jeff Sposetti (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-10360) HS2 fails to start when databases exist with LOCATION's outside of hive.metastore.warehouse.dirs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)