Description
mapred.lib.TotalOrderPartitioner in branch-1 has these two methods:
public static String getPartitionFile(JobConf job) public static void setPartitionFile(JobConf job, Path p)
In branch-2, mapred.lib.TotalOrderPartitioner is now a subclass of mapred.lib.TotalOrderPartitioner, from which it inherits the similar methods:
public static String getPartitionFile(Configuration conf) public static void setPartitionFile(Configuration conf, Path p)
This means that any code that does either of the following:
TotalOrderPartitioner.setPartitionFile(new JobConf(), new Path("/")); String str = TotalOrderPartitioner.getPartitionFile(new JobConf());
will not be binary compatible (that is, if compiled against branch-1, it will throw a NoSuchMethodError if run against branch-2).