hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Chen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-13030) KMS startup script failed to handle special characters
Date Mon, 18 Apr 2016 17:43:25 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-13030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xiao Chen updated HADOOP-13030:
-------------------------------
    Attachment: HADOOP-13030.03.patch

Patch 3 adds my first part of comment to the function, for better readability.

> KMS startup script failed to handle special characters
> ------------------------------------------------------
>
>                 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
>         Attachments: HADOOP-13030-repro.tar.gz, HADOOP-13030.01.patch, HADOOP-13030.02.patch,
HADOOP-13030.03.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