ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ab...@apache.org
Subject [2/2] ranger git commit: RANGER-1982 : Error Improvement for Analytics Metric of Ranger Admin and Ranger Kms
Date Wed, 26 Sep 2018 23:42:38 GMT
RANGER-1982 : Error Improvement for Analytics Metric of Ranger Admin and Ranger Kms

Signed-off-by: Mehul Parikh <mehul@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/508d347b
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/508d347b
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/508d347b

Branch: refs/heads/ranger-0.7
Commit: 508d347bcab294a891b18a3179f52ad05bcac548
Parents: c344918
Author: fatimaawez <fatimakhan4689@gmail.com>
Authored: Mon Feb 26 18:17:04 2018 +0530
Committer: Abhay Kulkarni <akulkarni@hortonworks.com>
Committed: Wed Sep 26 16:27:51 2018 -0700

----------------------------------------------------------------------
 embeddedwebserver/scripts/ranger-admin-services.sh | 2 +-
 kms/scripts/ranger-kms                             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ranger/blob/508d347b/embeddedwebserver/scripts/ranger-admin-services.sh
----------------------------------------------------------------------
diff --git a/embeddedwebserver/scripts/ranger-admin-services.sh b/embeddedwebserver/scripts/ranger-admin-services.sh
index 5780319..19dab2a 100755
--- a/embeddedwebserver/scripts/ranger-admin-services.sh
+++ b/embeddedwebserver/scripts/ranger-admin-services.sh
@@ -138,7 +138,7 @@ stop(){
 
 metric(){
   if [ "$JAVA_HOME" == "" ]; then
-    echo "[E] JAVA_HOME environment variable not defined, aborting Apache Ranger Admin metric
collection"
+    echo "[E] JAVA_HOME environment variable not defined, aborting Apache Ranger Admin metric
collection" 1>&2;
     exit 1;
   fi
   java ${JAVA_OPTS} -Duser=${USER} -Dhostname=${HOSTNAME} -Dlogdir=${RANGER_ADMIN_LOG_DIR}
-cp "${XAPOLICYMGR_EWS_DIR}/webapp/WEB-INF/classes/conf:${XAPOLICYMGR_EWS_DIR}/webapp/WEB-INF/classes/:${XAPOLICYMGR_EWS_DIR}/webapp/WEB-INF/classes/lib/*:${XAPOLICYMGR_EWS_DIR}/webapp/WEB-INF/classes/META-INF:${XAPOLICYMGR_EWS_DIR}/webapp/WEB-INF/lib/*:${XAPOLICYMGR_EWS_DIR}/webapp/META-INF:${XAPOLICYMGR_EWS_DIR}/lib/*:${RANGER_JAAS_LIB_DIR}/*:${RANGER_JAAS_CONF_DIR}:${JAVA_HOME}/lib/*:${RANGER_HADOOP_CONF_DIR}/*:$CLASSPATH"
org.apache.ranger.patch.cliutil.MetricUtil ${arg2} ${arg3} 2>/dev/null

http://git-wip-us.apache.org/repos/asf/ranger/blob/508d347b/kms/scripts/ranger-kms
----------------------------------------------------------------------
diff --git a/kms/scripts/ranger-kms b/kms/scripts/ranger-kms
index 5449946..dd14639 100755
--- a/kms/scripts/ranger-kms
+++ b/kms/scripts/ranger-kms
@@ -143,7 +143,7 @@ killRangerKMSPid () {
 }
 metric(){
   if [ "$JAVA_HOME" == "" ]; then
-    echo "[E] JAVA_HOME environment variable not defined, aborting Apache Ranger KMS metric
collection"
+    echo "[E] JAVA_HOME environment variable not defined, aborting Apache Ranger KMS metric
collection" 1>&2;
     exit 1;
   fi
 	java  ${JAVA_OPTS} org.apache.hadoop.crypto.key.kms.server.KMSMetricUtil ${arg2} ${arg3}
2>/dev/null


Mime
View raw message