HADOOP-11133. Should trim the content of keystore password file for JavaKeyStoreProvider (Yi Liu via umamahesh)
(cherry picked from commit 8d7c54967d5a08cdff75a782998ee89e7537b5c4)
HADOOP-11193. Fix uninitialized variables in NativeIO.c. Contributed by Xiaoyu Yao.