You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Uma Maheswara Rao G (JIRA)" <ji...@apache.org> on 2014/10/09 16:58:35 UTC
[jira] [Updated] (HADOOP-11133) Should trim the content of keystore
password file for JavaKeyStoreProvider
[ https://issues.apache.org/jira/browse/HADOOP-11133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uma Maheswara Rao G updated HADOOP-11133:
-----------------------------------------
Resolution: Fixed
Fix Version/s: 2.6.0
3.0.0
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Thanks a lot Yi for the patch!
I have just committed this to trunk and branch-2.
> 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)