Skip to content

Commit

Permalink
fix(config): “dfs.hosts” does not take IPs as an input
Browse files Browse the repository at this point in the history
  • Loading branch information
m0nhawk committed Sep 5, 2018
1 parent 386f80f commit 86f33ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def configure_hdfs_site():
tree = et.parse(core_site_path)
root = tree.getroot()
root.append(create_property('dfs.blocksize', '268435456'))
root.append(create_property('dfs.hosts', '0.0.0.0'))
root.append(create_property('dfs.hosts', ''))
root.append(create_property('dfs.namenode.handler.count', '100'))
root.append(create_property('dfs.namenode.name.dir', '/hadoop/hdfs/data/dfs/namenode'))
root.append(create_property('dfs.namenode.data.dir', '/hadoop/hdfs/data/dfs/datanode'))
Expand Down

0 comments on commit 86f33ee

Please sign in to comment.