hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13030) Handle special characters in passwords in KMS startup script
Date Thu, 28 Apr 2016 16:29:12 GMT

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

Allen Wittenauer commented on HADOOP-13030:
-------------------------------------------

Pretty much this exact same code exists in httpfs.sh ....

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

Mime
View raw message