including hadoop/conf directory

2010-07-20 Thread Ifeanyichukwu Osuji
Hi, I dont know how to include my hadoop/conf directory to my classpath. Can someone help? Thanks. Ifeanyichukwu Osuji

problems compiling idmapreduce.java using pig

2010-07-22 Thread Ifeanyichukwu Osuji
I keep gettin this error when i try to compile a java program using pig...can anyone help? Thanks pig-0.7.0$ javac -cp pig.jar idmapreduce.java idmapreduce.java:2: package org.apache.pig does not exist import org.apache.pig.PigServer; ^ idmapreduce.java:12: cannot find

image processing on a low level using PIG...Possible?

2010-07-26 Thread Ifeanyichukwu Osuji
Hi all, I was wondering if it would be possible to process images on a low level using PIG. I want to be able to write a pig script that can differentiate between two images.

Pig on every node in cluster or just namenode??? Please help

2010-08-09 Thread Ifeanyichukwu Osuji
Hi all, I have successfully installed pig on the machine which serves as the namenode/master node. The only problem is when I run pig in hadoop mode it only makes use of the namenode to perform tasks and not the whole cluster. I tried including the hadoop/conf directory of all

how to convert java program to pig UDF, and important statements in the pig script

2010-08-09 Thread Ifeanyichukwu Osuji
i have a simple java file that adds a star to a word and prints the result.(this is the simplest java program i could think of) import java.util.*; public class Star { public static void main (String[] args) { if (args.length == 1) { addStar(args[0]); }else

[main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1070:

2010-08-10 Thread Ifeanyichukwu Osuji
I get two type of errors when i try to run this pig script: A = LOAD 'image.log' AS (image: chararray); B = FOREACH A GENERATE reu.imageprocessor1(image); DUMP B; laptop:~/pig-0.7.0$ java -cp pig-0.7.0-core.jar org.apache.pig.Main -x local specialscript.pig 10/08/10 02:16:52 INFO pig.Main:

ERROR 1070? how can i fix this? thanks

2010-08-10 Thread Ifeanyichukwu Osuji
i get this error when i run my pig script. 2010-08-10 13:01:08,100 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1070: Could not resolve ImageProcessor using imports: [, org.apache.pig.builtin., org.apache.pig.impl.builtin.] how can i fix this? thanks

question about making a UDF? (javax.media.jai.JAI) (java advanced imaging)

2010-08-10 Thread Ifeanyichukwu Osuji
The UDF i am making uses JAI from the javax.media.jai library. I have the UPPER udf working fine but when i add this import statement: import javax.media.jai.JAI; I get an error. How can i fix this? Even though I have downloaded the latest version of JAI. When i use javac -cp pig.jar

how can i fix this? ERROR 1000: Error during parsing. thanks

2010-08-11 Thread Ifeanyichukwu Osuji
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

Re: Pig and Cassandra

2010-08-16 Thread Ifeanyichukwu Osuji
Bill Graham billgra...@gmail.com wrote: I've seen that exception in other cases where there is an unmeet dependency on a superclass that is included in a separate (and not provided) jar. Check the thrift source to see if that's the case. On Friday, August 13, 2010, Christian Decker

Re: Pig and Cassandra

2010-08-16 Thread Ifeanyichukwu Osuji
Bill Graham billgra...@gmail.com wrote: I've seen that exception in other cases where there is an unmeet dependency on a superclass that is included in a separate (and not provided) jar. Check the thrift source to see if that's the case. On Friday, August 13, 2010, Christian Decker