Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> What is wrong with my input path?


Copy link to this message
-
Re: What is wrong with my input path?

Simple non-pig sanity check:

Are you sure that the shell you're using to launch your pig script isn't
trying to do its own wildcard expansion on your parameter before passing
it to pig? (A good sign of this happening would be that the input path
mentioned in pig's error messages won't be the same as the input path
you've pasted here).

Cheers,
Kris

On Wed, Mar 20, 2013 at 04:14:47PM -0700, Tim Chan wrote:
> I'm using parameter passing to pass an input path to my pig script.
>
> This does not seem to work:
>
> -param input=/path1/{08,09,10,11,12}/*/data/,/path2/{01,02,03}/*/data/

--
Kris Coward http://unripe.melon.org/
GPG Fingerprint: 2BF3 957D 310A FEEC 4733  830E 21A4 05C7 1FEB 12B3