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

Ashutosh Chauhan commented on HCATALOG-348:
-------------------------------------------

Current code:
HCatUtil.java Line # 630
{code}
HiveConf hiveConf = new HiveConf();
{code}

should be:
{code}
HiveConf hiveConf = new HiveConf(conf,this.getClass());
{code}
                
> HCatUtil::getHiveConf(Configuration) ignores passed-in conf while creating 
> HiveConf
> -----------------------------------------------------------------------------------
>
>                 Key: HCATALOG-348
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-348
>             Project: HCatalog
>          Issue Type: Bug
>    Affects Versions: 0.4, 0.4.1
>            Reporter: Ashutosh Chauhan
>
> As a result there is a no way to programmatically pass on the configuration. 
> So, Pig can't configure HCatStorer programmatically. Only workaround at that 
> point is to physically have hive-site.xml in the classpath.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to