You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by souri datta <so...@gmail.com> on 2011/04/03 23:25:22 UTC

passing a long argument

Hi,
 I am trying to pass a list of names to my pig script through cmd line as
follows:
 -param names = `cat /tmp/names.txt'



But when I try to start the pig script I am getting error: *Argument list
too long*
(something seen in shell when running command with '*' like ls */ rm * )

Is there a way to achieve this thing somehow?
I am using this list inside a udf and I dont want to keep this file in hdfs.

Thanks in advance,
Souri