I wrote a simple code in my eclipse as
Text t = new Text("hadoop");
System.out.println((char)t.charAt(2));
when I try to run this I got
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/logging/LogFactory
at org.apache.hadoop.io.Text.(Text.java:49)
at com.exam
Hey all,
I am currenty trying to write a simple map job that dumps a file to
the hdfs. I see that hadoop creates 3 instances of my mapper class (I
expected 3, so this is fine :) but then things get a bit confusing for
me...
First the files don't show up in the file system, which is probably
due t