You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Eric Hanson (JIRA)" <ji...@apache.org> on 2014/03/04 20:27:24 UTC

[jira] [Commented] (PIG-3794) pig -useHCatalog fails using pig command line interface on HDInsight

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

Eric Hanson commented on PIG-3794:
----------------------------------

Code review available at: https://reviews.apache.org/r/18744/

> pig -useHCatalog fails using pig command line interface on HDInsight
> --------------------------------------------------------------------
>
>                 Key: PIG-3794
>                 URL: https://issues.apache.org/jira/browse/PIG-3794
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.11, 0.12.0, 0.13.0
>         Environment: Windows Azure HDINSIGHT
> c:\apps\dist\pig-0.11.0.1.3.2.0-05
>            Reporter: Eric Hanson
>             Fix For: 0.13.0
>
>         Attachments: PIG-3794.01.patch
>
>
> When you connect to an HDP 1.3 version HDINSIGHT cluster with remote desktop, if you try this:
> c:\apps\dist\pig-0.11.0.1.3.2.0-05>bin\pig -useHCatalog
> you get this:
> "HCAT_HOME should be defined"
> but you should not get an error.
> It appears that pig.cmd should use "HCATALOG_HOME" instead of "HCAT_HOME".
> The same problem exists on the 1.3 one-box installation for Windows. A quick look at the source code indicates it is still a problem on trunk.
> 
> Equivalent Monarch Pig JIRA is PIG-125
> In addition, if you set hive.metastore.uris to '', this is supposed to create an embedded metastore instead of going to the metastore service. This fails on Azure HDINSIGHT and Windows because of missing datanucleus and sqljdbc4 jars. This is covered in Monarch Pig JIRA Pig-126.



--
This message was sent by Atlassian JIRA
(v6.2#6252)