HADOOP-10129. Distcp may succeed when it fails (daryn)


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1548178 13f79535-47bb-0310-9956-ffa450edef68
svn merge -c 1548179 FIXES: HADOOP-10081. Client.setupIOStreams can leak socket resources on exception or error. Contributed by Tsuyoshi OZAWA


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1548190 13f79535-47bb-0310-9956-ffa450edef68