Ottomata has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/206420

Change subject: Add ferm rules for impala daemons
......................................................................

Add ferm rules for impala daemons

Change-Id: I350e549e04779dd8ef29b36d1c9377f103e3cddd
---
M manifests/role/analytics/impala.pp
1 file changed, 22 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/20/206420/1

diff --git a/manifests/role/analytics/impala.pp 
b/manifests/role/analytics/impala.pp
index de232f8..87323ce 100644
--- a/manifests/role/analytics/impala.pp
+++ b/manifests/role/analytics/impala.pp
@@ -18,6 +18,12 @@
 class role::analytics::impala::worker {
     include role::analytics::impala
     include cdh::impala::worker
+
+    ferm::service { 'impalad':
+        proto  => 'tcp',
+        port   => '(22000 28000)',
+        srange => '$ANALYTICS_NETWORKS',
+    }
 }
 
 # == Class role::analytics::impala::master
@@ -26,4 +32,20 @@
 class role::analytics::impala::master {
     include role::analytics::impala
     include cdh::impala::master
+
+    ferm::service { 'impala-state-store':
+        proto  => 'tcp',
+        port   => '24000',
+        srange => '$ANALYTICS_NETWORKS',
+    }
+    ferm::service { 'impala-catalog':
+        proto  => 'tcp',
+        port   => '25020',
+        srange => '$ANALYTICS_NETWORKS',
+    }
+    ferm::service { 'impala-llama':
+        proto  => 'tcp',
+        port   => '(15000 15001 15002)'
+        srange => '$ANALYTICS_NETWORKS',
+    }
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/206420
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I350e549e04779dd8ef29b36d1c9377f103e3cddd
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ottomata <o...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to