Elukey has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/369392 )
Change subject: role::analytics_cluster::hive: add jvm monitoring ...................................................................... role::analytics_cluster::hive: add jvm monitoring This change needs the latest cdh modules changes: https://gerrit.wikimedia.org/r/#/c/369351/ Bug: T172107 Change-Id: Ice2e02e6d8b11ad4e7d5529cc35814cdcc0bba12 --- M modules/cdh M modules/role/manifests/analytics_cluster/hive/metastore.pp M modules/role/manifests/analytics_cluster/hive/server.pp 3 files changed, 11 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/92/369392/1 diff --git a/modules/cdh b/modules/cdh index 4e40b3a..1d5b40f 160000 --- a/modules/cdh +++ b/modules/cdh @@ -1 +1 @@ -Subproject commit 4e40b3a21d9a43a84c8ab991b8039ec523022936 +Subproject commit 1d5b40f8adf3e9e9698494d32c610bae2952734b diff --git a/modules/role/manifests/analytics_cluster/hive/metastore.pp b/modules/role/manifests/analytics_cluster/hive/metastore.pp index 540133b..bbccca9 100644 --- a/modules/role/manifests/analytics_cluster/hive/metastore.pp +++ b/modules/role/manifests/analytics_cluster/hive/metastore.pp @@ -11,6 +11,11 @@ # Setup hive-metastore class { '::cdh::hive::metastore': } + # Use jmxtrans for sending metrics + class { '::cdh::hive::jmxtrans::metastore': + statsd => hiera('statsd'), + } + ferm::service{ 'hive_metastore': proto => 'tcp', port => '9083', diff --git a/modules/role/manifests/analytics_cluster/hive/server.pp b/modules/role/manifests/analytics_cluster/hive/server.pp index 8e15455..1b7538e 100644 --- a/modules/role/manifests/analytics_cluster/hive/server.pp +++ b/modules/role/manifests/analytics_cluster/hive/server.pp @@ -11,6 +11,11 @@ # Setup hive-server class { '::cdh::hive::server': } + # Use jmxtrans for sending metrics + class { '::cdh::hive::jmxtrans::server': + statsd => hiera('statsd'), + } + ferm::service{ 'hive_server': proto => 'tcp', port => '10000', -- To view, visit https://gerrit.wikimedia.org/r/369392 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ice2e02e6d8b11ad4e7d5529cc35814cdcc0bba12 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Elukey <ltosc...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits