Configuring Hadoop on NameNode

Log in to NameNode:

cd /opt/Hadoop/conf
    
vi core-site.xml  

Find and change the following properties with these values:

Filename
Property name
Property value
core-site.xml  fs.default.name  hdfs://namenode:9000/
dfs.permissions  False
hdfs-site.xml dfs.data.dir /opt/hadoop/hadoop/dfs/namenode/data
dfs.name.dir /opt/hadoop/hadoop/dfs/namenode
dfs.replication 1
mapred-site.xml mapred.job.tracker namenode:9001 
    vi masters
    namenode
    
    vi slaves
    datanode1
    datanode2
    datanode3
  

Get Modern Big Data Processing with Hadoop now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.