[
https://issues.apache.org/jira/browse/HADOOP-11133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14166668#comment-14166668
]
Hudson commented on HADOOP-11133:
---------------------------------
SUCCESS: Integrated in Hadoop-Yarn-trunk #707 (See
[https://builds.apache.org/job/Hadoop-Yarn-trunk/707/])
HADOOP-11133. Should trim the content of keystore password file for
JavaKeyStoreProvider (Yi Liu via umamahesh) (umamahesh: rev
8d7c54967d5a08cdff75a782998ee89e7537b5c4)
*
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/crypto/key/TestKeyProviderFactory.java
* hadoop-common-project/hadoop-common/CHANGES.txt
*
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/crypto/key/JavaKeyStoreProvider.java
*
hadoop-common-project/hadoop-common/src/test/resources/javakeystoreprovider.password
*
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/alias/JavaKeyStoreProvider.java
> Should trim the content of keystore password file for JavaKeyStoreProvider
> --------------------------------------------------------------------------
>
> Key: HADOOP-11133
> URL: https://issues.apache.org/jira/browse/HADOOP-11133
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 2.6.0
> Reporter: zhubin
> Assignee: Yi Liu
> Priority: Minor
> Fix For: 3.0.0, 2.6.0
>
> Attachments: HADOOP-11133.001.patch
>
>
> In linux, when we edit file using vi/vim, or echo something to a file, {{LF}}
> char will be added at the end when saving file. The keystore is load failed
> in {{JavaKeyStoreProvider}}:
> {quote}
> java.io.IOException: Keystore was tampered with, or password was incorrect
> {quote}
> We should trim the content of keystore password file.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)