Hi@MD,
To configure the Hadoop master node, you need to go to the Hadoop configuration folder. There you can find hdfs-site.xml and core-site.xml files. You have to set the properties in these files as shown below.
$ vim core-site.xml
<configuration>
<property>
<name>fs.default.name</name>
<value>hdfs://Master_IP:9001</value>
</property>
</configuration>
$ vim hdfs-site.xml
<configuration>
<property>
<name>dfs.name.dir</name>
<value>/nn</value>
</property>
</configuration>