From 99f4f2e95fea0abc9328c182ac3f3bf1d2899bc6 Mon Sep 17 00:00:00 2001 From: Dhrubajyoti Sadhu Date: Tue, 30 Jan 2024 14:20:01 +0000 Subject: [PATCH] trying EXPORTER_OPTS --- files/startup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/startup.sh b/files/startup.sh index dca77fc..ef474c9 100755 --- a/files/startup.sh +++ b/files/startup.sh @@ -101,7 +101,7 @@ if [ -n "$ENABLE_METRICS" ]; then echo "INSIDE - ECS_CONTAINER_METADATA_URI" #export HIVE_METASTORE_HADOOP_OPTS="$HIVE_METASTORE_HADOOP_OPTS -Djava.net.preferIPv4Stack=true -javaagent:/usr/lib/apiary/jmx_prometheus_javaagent-${EXPORTER_VERSION}.jar=8080:/etc/hive/conf/jmx-exporter.yaml" - #export EXPORTER_OPTS="-javaagent:/usr/lib/apiary/jmx_prometheus_javaagent-${EXPORTER_VERSION}.jar=8080:/etc/hive/conf/jmx-exporter.yaml" + export EXPORTER_OPTS="-javaagent:/usr/lib/apiary/jmx_prometheus_javaagent-${EXPORTER_VERSION}.jar=8080:/etc/hive/conf/jmx-exporter.yaml" #echo "HIVE_METASTORE_HADOOP_OPTS and EXPORTER_OPTS set" #echo $HIVE_METASTORE_HADOOP_OPTS