YARN-1908. Fixed DistributedShell to not fail in secure clusters. Contributed by Vinod Kumar Vavilapalli and Jian He. svn merge --ignore-ancestry -c 1585849 ../../trunk/