Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-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 D9CCA1103F for ; Thu, 28 Aug 2014 20:19:11 +0000 (UTC) Received: (qmail 93349 invoked by uid 500); 28 Aug 2014 20:19:09 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 93252 invoked by uid 500); 28 Aug 2014 20:19:09 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 93073 invoked by uid 500); 28 Aug 2014 20:19:09 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 92977 invoked by uid 99); 28 Aug 2014 20:19:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2014 20:19:09 +0000 Date: Thu, 28 Aug 2014 20:19:09 +0000 (UTC) From: "Sushanth Sowmyan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-7901) CLONE - pig -useHCatalog with embedded metastore fails to pass command line args to metastore (org.apache.hive.hcatalog version) 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/HIVE-7901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14114275#comment-14114275 ] Sushanth Sowmyan commented on HIVE-7901: ---------------------------------------- This issue is a clone of a prior jira : HIVE-6633, which modified it for org.apache.hcatalog.* classes, which got removed as deprecated classes were pruned out. So, we effectively need to add that change back in, to org.apache.hive.hcatalog.* classes. > CLONE - pig -useHCatalog with embedded metastore fails to pass command line args to metastore (org.apache.hive.hcatalog version) > -------------------------------------------------------------------------------------------------------------------------------- > > Key: HIVE-7901 > URL: https://issues.apache.org/jira/browse/HIVE-7901 > Project: Hive > Issue Type: Bug > Components: HCatalog > Affects Versions: 0.14.0 > Reporter: Sushanth Sowmyan > Assignee: Eric Hanson > > This fails because the embedded metastore can't connect to the database because the command line -D arguments passed to pig are not getting passed to the metastore when the embedded metastore is created. Using hive.metastore.uris set to the empty string causes creation of an embedded metastore. > pig -useHCatalog "-Dhive.metastore.uris=" "-Djavax.jdo.option.ConnectionPassword=AzureSQLDBXYZ" > The goal is to allow a pig job submitted via WebHCat to specify a metastore to use via job arguments. That is not working because it is not possible to pass Djavax.jdo.option.ConnectionPassword and other necessary arguments to the embedded metastore. -- This message was sent by Atlassian JIRA (v6.2#6252)