|
|
-
Re: how can i fix this? ERROR 1000: Error during parsing. thanksThejas M Nair 2010-08-11, 18:48
Looks like pig is trying to create an instance using the default constructor. Can you try adding a default constructor to the udf class - one with no arguments?
-Thejas On 8/11/10 10:52 AM, "Ifeanyichukwu Osuji" <[EMAIL PROTECTED]> wrote: New error, don't know what to do... this is the error i get: laptop:~/pig-0.7.0/trunk$ javac -cp $CLASSPATH:pig.jar ImageProcessorr.java Note: ImageProcessorr.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. laptop:~/pig-0.7.0/trunk$ bin/pig specialscript.piglog4j:WARN No appenders could be found for logger (org.apache.hadoop.conf.Configuration). log4j:WARN Please initialize the log4j system properly. 2010-08-11 13:48:26,320 [main] INFO org.apache.pig.Main - Logging error messages to: /home/hadoop/pig-0.7.0/trunk/pig_1281548906305.log 2010-08-11 13:48:26,506 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: hdfs://localhost:54310 2010-08-11 13:48:26,690 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to map-reduce job tracker at: localhost:54311 2010-08-11 13:48:26,900 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1000: Error during parsing. could not instantiate 'ImageProcessorr' with arguments 'null' Details at logfile: /home/hadoop/pig-0.7.0/trunk/pig_1281548906305.log laptop:~/pig-0.7.0/trunk$ |