问题
This is what I am doing:
public class MOPartition extends Partitioner<Text, Text> {
public MOPartition() {}
...
}
Error:
java.lang.RuntimeException: java.lang.NoSuchMethodException: globalSort$MOPartition.()
Even defining a empty constructor didnt help.
I then Googled it and came across following link http://lucene.472066.n3.nabble.com/preserve-JobTracker-information-td826974.html. I then checked my JRE version and it is 1.6.0.26. So, I think I am pretty much safe as far JRE is concerned.
Can you please suggest what can be the issue?
来源:https://stackoverflow.com/questions/9437895/error-while-using-hadoop-partitioning