HADOOP-11265. Credential and Key Shell Commands not available on Windows. Contributed by Larry McCay.

(cherry picked from commit a7fbd4e633c18aeeda93c0f013c0a1fcd5963556)
(cherry picked from commit a339fd364664bb9a5b791312846b0f307a1276bc)
HDFS-7199. DFSOutputStream should not silently drop data if DataStreamer crashes with an unchecked exception (rushabhs via cmccabe)
(cherry picked from commit 56257fab1d5a7f66bebd9149c7df0436c0a57adb)
(cherry picked from commit 6f7ce842c015fedb30ec762caeb37a64e8258c4a)
YARN-2767. Added a test case to verify that http static user cannot kill or submit apps in the secure mode. Contributed by Varun Vasudev.

(cherry picked from commit 7a4c92a9d55fcecef066053ac30dff0fcd4ec90c)