[
https://issues.apache.org/jira/browse/PIG-3794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Hanson updated PIG-3794:
-----------------------------
Description:
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.
was:
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
> 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
>
> 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)