MAPREDUCE-5911. Terasort TeraOutputFormat does not check for output directory existance. Contributed by Bruno P. Kinoshita.
(cherry picked from commit 7bbda6ef92e9bf4a28e67b8736067b38defab51e)
Revert "MAPREDUCE-5911. Terasort TeraOutputFormat does not check for output directory existance. Contributed by Bruno P. Kinoshita."

This reverts commit 767a3fd0b718a1d0b38c030438f0be4f426ba5b5.
Merge remote-tracking branch 'remotes/origin/branch-2' into branch-2