[ https://issues.apache.org/jira/browse/HADOOP-13030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15265197#comment-15265197
]
Xiao Chen commented on HADOOP-13030:
------------------------------------
Thanks [~aw] for pointing this out, I wasn't aware of that..
I created HADOOP-13077 to fix it and attached a patch, let's move the following work there.
> Handle special characters in passwords in KMS startup script
> ------------------------------------------------------------
>
> Key: HADOOP-13030
> URL: https://issues.apache.org/jira/browse/HADOOP-13030
> Project: Hadoop Common
> Issue Type: Bug
> Components: kms
> Affects Versions: 2.6.0
> Reporter: Xiao Chen
> Assignee: Xiao Chen
> Fix For: 2.8.0
>
> Attachments: HADOOP-13030-repro.tar.gz, HADOOP-13030.01.patch, HADOOP-13030.02.patch,
HADOOP-13030.03.patch, HADOOP-13030.b28.patch
>
>
> {{kms.sh}} currently cannot handle special characters.
> {code}
> sed -e 's/_kms_ssl_keystore_pass_/'${KMS_SSL_KEYSTORE_PASS}'/g' \
> -e 's/_kms_ssl_truststore_pass_/'${KMS_SSL_TRUSTSTORE_PASS}'/g' \
> "${HADOOP_CATALINA_HOME}/conf/ssl-server.xml.conf" \
> > "${HADOOP_CATALINA_HOME}/conf/ssl-server.xml"
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org
|