Skip to content

Commit

Permalink
HADOOP_CLIENT_OPTS added on 8080
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhrubajyoti Sadhu committed Feb 5, 2024
1 parent a4d5076 commit 573e2dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions files/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ if [ -n "$ENABLE_METRICS" ]; then
#configure to send metrics to cloudwatch when running on ECS
if [ -n "$ECS_CONTAINER_METADATA_URI" ]; then

export HADOOP_CLIENT_OPTS="$HADOOP_CLIENT_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=8088"

# enable prometheus jmx agent when running on ECS
export EXPORTER_OPTS="-javaagent:/usr/lib/apiary/jmx_prometheus_javaagent-${EXPORTER_VERSION}.jar=8080:/etc/hive/conf/jmx-exporter.yaml"
export CLOUDWATCH_NAMESPACE="${INSTANCE_NAME}-metastore"
Expand Down

0 comments on commit 573e2dd

Please sign in to comment.