Skip to content

Commit

Permalink
trying EXPORTER_OPTS
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhrubajyoti Sadhu committed Jan 30, 2024
1 parent da5eb5b commit 99f4f2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 99f4f2e

Please sign in to comment.