ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From me...@apache.org
Subject [3/3] ranger git commit: RANGER-1982 : Error Improvement for Analytics Metric of Ranger Admin and Ranger Kms
Date Tue, 27 Feb 2018 09:34:50 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/7954cbbc
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/7954cbbc
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/7954cbbc

Branch: refs/heads/master
Commit: 7954cbbcd90500ec90d425aa20ca7e2fba34d695
Parents: 44b3738
Author: fatimaawez <fatimakhan4689@gmail.com>
Authored: Mon Feb 26 18:17:04 2018 +0530
Committer: Mehul Parikh <mehul@apache.org>
Committed: Tue Feb 27 15:04:19 2018 +0530

----------------------------------------------------------------------
 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/7954cbbc/embeddedwebserver/scripts/ranger-admin-services.sh
----------------------------------------------------------------------
diff --git a/embeddedwebserver/scripts/ranger-admin-services.sh b/embeddedwebserver/scripts/ranger-admin-services.sh
index 9e8c322..7061cd5 100755
--- a/embeddedwebserver/scripts/ranger-admin-services.sh
+++ b/embeddedwebserver/scripts/ranger-admin-services.sh
@@ -146,7 +146,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/7954cbbc/kms/scripts/ranger-kms
----------------------------------------------------------------------
diff --git a/kms/scripts/ranger-kms b/kms/scripts/ranger-kms
index 5e830fe..604d701 100755
--- a/kms/scripts/ranger-kms
+++ b/kms/scripts/ranger-kms
@@ -158,7 +158,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