Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Pig >> mail # user >> Error while parsing commandline properties


+
Jeff Yuan 2013-03-02, 00:04
Copy link to this message
-
Re: Error while parsing commandline properties
Hi, Jeff:
It works for me though. Can you paste the whole command?

Johnny
On Fri, Mar 1, 2013 at 4:04 PM, Jeff Yuan <[EMAIL PROTECTED]> wrote:

> Hi guys,
>
> I'm running pig from the command line in local mode, and trying to
> pass in some properties, for example:
> pig -x local ... -p mapred.map.tasks=2 -p mapred.reduce.tasks=1 ...
>
> I'm getting errors;
> INFO parameters.ParameterSubstitutionPreprocessor: Encountered "
> <OTHER> ".map.tasks=2 "" at line 1, column 7.
> Was expecting:
>     "=" ...
>
> My question is, what am I doing wrong? What's the correct way to pass
> in the properties via command line arguments?
>
> Thanks,
> Jeff
>
+
Jeff Yuan 2013-03-02, 00:58
+
Johnny Zhang 2013-03-02, 01:21
+
Jeff Yuan 2013-03-03, 06:11
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB