HELP
[root@sugonlxc hadoop-3.1.1]# hdfs namenode -format
2019-08-19 18:01:20,384 INFO namenode.NameNode: STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting NameNode
STARTUP_MSG: host = sugonlxc/10.6.4.44
STARTUP_MSG: args = [-format]
STARTUP_MSG: version = 3.1.1
HOST de IP zai na li she zhi
how to setting the IP of host?
this is coresite.xml
<configuration>
<property>
<name>fs.defaultFS</name>
<value>hdfs://127.0.0.1:9000</value>
</property>
<property>
<name>hadoop.tmp.dir</name>
<value>/usr/local/software/hadoop-3.1.1/tmp</value>
</property>
</configuration>
and this is /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
#::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
#127.0.0.1 myhostname
#::1 myhostname
127.0.0.1 hadoop
~
THANK YOU
I have not install Chinese Inputmethod yet.