Permalink
Browse files

Merge pull request #52 from juju-solutions/listen_all_interfaces

listen on all interfaces for namenode
  • Loading branch information...
2 parents 43482b7 + eb38cd0 commit 0f0ff1bd98eb06661375c699a4172b3e2b94396b @johnsca johnsca committed May 3, 2016
Showing with 4 additions and 0 deletions.
  1. +4 −0 jujubigdata/handlers.py
View
@@ -369,6 +369,10 @@ def configure_namenode(self, namenodes):
with utils.xmlpropmap_edit_in_place(hdfs_site) as props:
props['dfs.namenode.datanode.registration.ip-hostname-check'] = 'true'
props['dfs.namenode.http-address.%s.%s' % (clustername, host)] = '%s:%s' % (host, dc.port('nn_webapp_http'))
+ props['dfs.namenode.rpc-bind-host'] = '0.0.0.0'
+ props['dfs.namenode.servicerpc-bind-host'] = '0.0.0.0'
+ props['dfs.namenode.http-bind-host'] = '0.0.0.0'
+ props['dfs.namenode.https-bind-host'] = '0.0.0.0'
self.hadoop_base.setup_init_script("hdfs", "namenode")
def configure_zookeeper(self, zookeepers):

0 comments on commit 0f0ff1b

Please sign in to comment.