Skip to content

Commit

Permalink
Removed echo
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhrubajyoti Sadhu committed Jan 31, 2024
1 parent 698ad48 commit 510193b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion files/hive-site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

<property>
<name>hive.service.metrics.class</name>
<value>com.expediagroup.apiary.extensions.metastore.metrics.CodahaleMetrics</value>
<value>org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics</value>
</property>

<property>
Expand Down
11 changes: 0 additions & 11 deletions files/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,22 +83,11 @@ if [[ -n $RANGER_AUDIT_DB_URL ]]; then
fi
fi

echo "HELLO NEW WORLD"
echo $ENABLE_METRICS

if [ -n "$ENABLE_METRICS" ]; then
echo "INSIDE HELLO NEW WORLD"

echo $ENABLE_METRICS

echo "ECS_CONTAINER_METADATA_URI"
echo $ECS_CONTAINER_METADATA_URI
echo "ECS_CONTAINER_METADATA_URI_V4"
echo $ECS_CONTAINER_METADATA_URI_V4
update_property.py hive.metastore.metrics.enabled true /etc/hive/conf/hive-site.xml
#configure to send metrics to cloudwatch when running on ECS
if [ -n "$ECS_CONTAINER_METADATA_URI" ]; then
echo "INSIDE - ECS_CONTAINER_METADATA_URI"

export EXPORTER_OPTS="-javaagent:/usr/lib/apiary/jmx_prometheus_javaagent-${EXPORTER_VERSION}.jar=8080:/etc/hive/conf/jmx-exporter.yaml"

Expand Down

0 comments on commit 510193b

Please sign in to comment.