[ 
https://issues.apache.org/jira/browse/HADOOP-11133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14150960#comment-14150960
 ] 

Uma Maheswara Rao G commented on HADOOP-11133:
----------------------------------------------

Thanks for the JIRA Yi!
Is it possible to have a test with space and which will be trimmed proceed 
normally?

> 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
>         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)

Reply via email to