You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by Prashant Kommireddi <pr...@gmail.com> on 2013/02/11 19:41:11 UTC

Re: $HOME

Done https://issues.apache.org/jira/browse/PIG-3180

On Mon, Feb 11, 2013 at 9:44 AM, Jonathan Coveney <jc...@gmail.com>wrote:

> Prashant: not sure. It probably isn't. We should make a ticket for that if
> it isn't.
> Russell: can you close the ticket you made, with the answer?
>
>
> 2013/2/11 Russell Jurney <ru...@gmail.com>
>
> > Well, I don't know if that works? But Software/ isn't assumed either.
> > Really I just need a home directory... I've set mine to $HOME/Software.
> >
> > Check it out, I edited all the scripts:
> >
> >
> https://github.com/rjurney/Agile_Data_Code/blob/master/ch11/pig/smooth_times.pig
> >
> >
> > On Mon, Feb 11, 2013 at 12:29 AM, Evert Lammerts
> > <ev...@gmail.com>wrote:
> >
> > > How about a tilde? E.g.
> > >
> > > /* Avro uses json-simple, and is in piggybank until Pig 0.12, where
> > > AvroStorage and TrevniStorage are builtins */
> > > REGISTER ~/Software/pig/build/ivy/lib/Pig/avro-1.5.3.jar
> > > REGISTER ~/Software/pig/build/ivy/lib/Pig/json-simple-1.1.jar
> > > REGISTER ~/Software/pig/contrib/piggybank/java/piggybank.jar
> > >
> > >
> > >
> > >
> > >
> > > On Mon, Feb 11, 2013 at 9:08 AM, Russell Jurney <
> > russell.jurney@gmail.com
> > > >wrote:
> > >
> > > > Note: I am REGISTER'ing jars using $HOME:
> > > >
> > > > %default HOME `echo $HOME/Software`
> > > > /* Avro uses json-simple, and is in piggybank until Pig 0.12, where
> > > > AvroStorage and TrevniStorage are builtins */
> > > > REGISTER $HOME/pig/build/ivy/lib/Pig/avro-1.5.3.jar
> > > > REGISTER $HOME/pig/build/ivy/lib/Pig/json-simple-1.1.jar
> > > > REGISTER $HOME/pig/contrib/piggybank/java/piggybank.jar
> > > >
> > > >
> > > >
> > > > On Mon, Feb 11, 2013 at 12:08 AM, Russell Jurney
> > > > <ru...@gmail.com>wrote:
> > > >
> > > > > Unexpected internal error. Undefined parameter : HOME
> > > > >
> > > > >
> > > > > On Sun, Feb 10, 2013 at 10:53 PM, Bill Graham <
> billgraham@gmail.com
> > > > >wrote:
> > > > >
> > > > >> try this:
> > > > >>
> > > > >> %default HOME `echo $HOME`
> > > > >>
> > > > >>
> > > > >> On Sun, Feb 10, 2013 at 9:37 PM, Russell Jurney <
> > > > russell.jurney@gmail.com
> > > > >> >wrote:
> > > > >>
> > > > >> > What should I do to fill in the user's home directory when
> writing
> > > > about
> > > > >> > pig?
> > > > >> >
> > > > >> > SET HOME `echo $HOME`  # Does not work
> > > > >> >
> > > > >> > --
> > > > >> > Russell Jurney twitter.com/rjurney russell.jurney@gmail.com
> > > > >> > datasyndrome.com
> > > > >> >
> > > > >>
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Russell Jurney
> > twitter.com/rjurneyrussell.jurney@gmail.comdatasyndrome.
> > > > > com
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Russell Jurney twitter.com/rjurney russell.jurney@gmail.com
> > > > datasyndrome.com
> > > >
> > >
> >
> >
> >
> > --
> > Russell Jurney twitter.com/rjurney russell.jurney@gmail.com
> > datasyndrome.com
> >
>