Hello,
During the build of inputformat i get the following error:

 [javac] /home/sguha/distr/mapred/SListInputFormat.java:118: incompatible types
 [javac] found   : java.lang.String
 [javac] required: org.apache.hadoop.io.Text
 [javac]       slist_name = job.get("testfoo");

The method where this is happening is
public void configure(JobConf job){
      slist_name = job.get("testfoo");
  }
 //slist_name is a String

I notice that JobConf is a subclass onf Configuration. I checked the
sources of the later and indeed there is the method
public String get(String name) {
    return substituteVars(getProps().getProperty(name));
  }

So why do I get the above error?
My java is fresh (a few weeks old) and I know this is not the correct
way to approach Hadoop programming but i need to implement an idea as
soon as possible.
I appreciate your help.
-- 
Saptarshi Guha - [EMAIL PROTECTED]

Reply via email to