HADOOP-14131. kms.sh creates bogus dir for tomcat logs. Contributed by John Zhuge.
Change-Id: I444e10318eb64dcd4c0416b985d12049c72e8943
This commit is contained in:
parent
ff08f54f41
commit
133857ba04
|
@ -59,7 +59,8 @@ CATALINA_OPTS_DISP=`echo ${CATALINA_OPTS} | sed -e 's/trustStorePassword=[^ ]*/t
|
|||
print "Using CATALINA_OPTS: ${CATALINA_OPTS_DISP}"
|
||||
|
||||
catalina_opts="-Dproc_kms"
|
||||
catalina_opts="${catalina_opts} -Djava.library.path=${JAVA_LIBRARY_PATH}";
|
||||
catalina_opts="${catalina_opts} -Dkms.log.dir=${KMS_LOG}"
|
||||
catalina_opts="${catalina_opts} -Djava.library.path=${JAVA_LIBRARY_PATH}"
|
||||
|
||||
print "Adding to CATALINA_OPTS: ${catalina_opts}"
|
||||
print "Found KMS_SSL_KEYSTORE_PASS: `echo ${KMS_SSL_KEYSTORE_PASS} | sed 's/./*/g'`"
|
||||
|
@ -84,7 +85,6 @@ if [[ "${1}" = "start" || "${1}" = "run" ]]; then
|
|||
catalina_init_properties
|
||||
catalina_set_property "kms.home.dir" "${KMS_HOME}"
|
||||
catalina_set_property "kms.config.dir" "${KMS_CONFIG}"
|
||||
catalina_set_property "kms.log.dir" "${KMS_LOG}"
|
||||
catalina_set_property "kms.temp.dir" "${KMS_TEMP}"
|
||||
catalina_set_property "kms.admin.port" "${KMS_ADMIN_PORT}"
|
||||
catalina_set_property "kms.http.port" "${KMS_HTTP_PORT}"
|
||||
|
|
Loading…
Reference in New Issue