update hadoop java code