pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-3794) pig -useHCatalog fails using pig command line interface on HDInsight
Date Tue, 25 Mar 2014 00:25:42 GMT

     [ https://issues.apache.org/jira/browse/PIG-3794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Daniel Dai updated PIG-3794:

      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

+1. Patch committed to trunk. We can remove HCATALOG_HOME later. Thanks Eric!

> 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-
>            Reporter: Eric Hanson
>            Assignee: Eric Hanson
>             Fix For: 0.13.0
>         Attachments: PIG-3794.01.patch, PIG-3794.02.patch, PIG-3794.03.patch, PIG-3794.04.patch,
> When you connect to an HDP 1.3 version HDINSIGHT cluster with remote desktop, if you
try this:
> c:\apps\dist\pig->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.
> 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. 
> Finally, if you submit a pig job from WebHCat, due to argument quoting for windows, -useHCatalog
comes in as "-useHCatalog" into pig.cmd. This causes -useHCatalog to never work on Windows
from WebHCat.

This message was sent by Atlassian JIRA

View raw message