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 Threaded View
Pig >> mail # user >> error while registering the udf.


Copy link to this message
-
Re: error while registering the udf.
On Wed, Feb 22, 2012 at 2:56 AM, chethan <[EMAIL PROTECTED]> wrote:
>        pigServer.registerQuery("REGISTER " + inputFile + ";");

Add single quotes around the inputFile?:

```
pigServer.registerQuery("REGISTER '" + inputFile + "';");
```
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