hdfs.site.xml的内容:
<property>
<name>dfs.replication</name>
<value>1</value>
<description>Default block replication.
The actual number of replications can be specified when the file is created.
The default is used if replication is not specified in create time.
</description>
</property>
<property>
<name>dfs.namenode.name.dir</name>
<value>file:/usr/local/hadoop_store/hdfs/namenode</value>
</property>
<property>
<name>dfs.datanode.data.dir</name>
<value>file:/usr/local/hadoop_store/hdfs/datanode</value>
</property>
``` `jps` 不是启动namenode
20471 NodeManager
20515 Jps
20036 DataNode
20362 ResourceManager
暂无答案!
目前还没有任何答案,快来回答吧!