From 5d35279d56a5cc4a3cfa9c64bb027183afebd393 Mon Sep 17 00:00:00 2001 From: Dhrubajyoti Sadhu Date: Wed, 31 Jan 2024 23:56:01 +0000 Subject: [PATCH] Removed echo --- files/startup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/startup.sh b/files/startup.sh index 521e921..2f959c4 100755 --- a/files/startup.sh +++ b/files/startup.sh @@ -91,7 +91,7 @@ if [ -n "$ENABLE_METRICS" ]; then export EXPORTER_OPTS="-javaagent:/usr/lib/apiary/jmx_prometheus_javaagent-${EXPORTER_VERSION}.jar=8080:/etc/hive/conf/jmx-exporter.yaml" - export HADOOP_OPTS="$HADOOP_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9025 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -javaagent:/usr/lib/apiary/jmx_prometheus_javaagent-${EXPORTER_VERSION}.jar=8080:/etc/hive/conf/jmx-exporter.yaml -Dcom.sun.management.jmxremote.ssl=false $HEAP_OPTS" + #export HADOOP_OPTS="$HADOOP_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9025 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -javaagent:/usr/lib/apiary/jmx_prometheus_javaagent-${EXPORTER_VERSION}.jar=8080:/etc/hive/conf/jmx-exporter.yaml -Dcom.sun.management.jmxremote.ssl=false $HEAP_OPTS" export CLOUDWATCH_NAMESPACE="${INSTANCE_NAME}-metastore" export ECS_TASK_ID=$(wget -q -O - ${ECS_CONTAINER_METADATA_URI}/task|jq -r .TaskARN|awk -F/ '{ print $NF }')