HADOOP-16988. Remove source code from branch-2. (aajisaka via jhung)

This closes #1959