incubator-hcatalog-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien Le Dem <jul...@twitter.com>
Subject Re: using hcat with pig 0.8
Date Tue, 08 Nov 2011 20:59:26 GMT
I'm running off the build using the "install from source" doc
I'll try out additional.jars.
Thanks David

On Tue, Nov 8, 2011 at 11:26 AM, David Capwell <dcapwell@yahoo-inc.com> wrote:
> Also you should be able to do "pig -Dpig.additional.jars=$(ls
> $HCAT_HOME/lib/*.jar | xargs echo | sed 's/\n/:/g') myScript.pig"
> On Nov 8, 2011, at 8:15:29AM, Julien Le Dem wrote:
>
> Hi,
> I've been following the instructions here:
> http://incubator.apache.org/hcatalog/docs/r0.2.0/loadstore.html#Set+Up
> In particular I'm starting Pig with the following command line:
>
> java -cp pig.jar hcatalog.jar
>     -Dhcat.metastore.uri=thrift://<hcatalog server hostname>:9080
>     -Dhcat.metastore.principal=<hcatalog server kerberos principal>
> myscript.pig
>
> But when using the HCatLoader or Storer it does not find the
> dependencies. I resolved this by manually making a fat jar of hcatalog
> and its dependencies but I'm wondering if there's a better way. I'm
> building HCatalog from trunk.
>
> Thanks,
> Julien
>
>

Mime
View raw message