Duplication and split of java code by hadoop v1 v2
More v1 v2 split.