[ https://issues.apache.org/jira/browse/HIVE-6633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14114271#comment-14114271 ]
Sushanth Sowmyan commented on HIVE-6633: ---------------------------------------- Hi, I'm afraid this patch modified only org.apache.hcatalog.* files, and those were pruned out with the removal of deprecated classes for 0.14. So this patch was committed to trunk, but the changes effectively blown away. To make commit log tracking easier in this scenario, I'm going to clone this jira to track addition of this same patch to org.apache.hive.hcatalog as well. Eric, could you please regenerate your patch for that? > pig -useHCatalog with embedded metastore fails to pass command line args to > metastore > ------------------------------------------------------------------------------------- > > Key: HIVE-6633 > URL: https://issues.apache.org/jira/browse/HIVE-6633 > Project: Hive > Issue Type: Bug > Components: HCatalog > Affects Versions: 0.11.0, 0.12.0, 0.13.0, 0.14.0 > Reporter: Eric Hanson > Assignee: Eric Hanson > Fix For: 0.13.0 > > Attachments: HIVE-6633.01.patch > > > 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)