2014-06-19 17 views
2

我使用了Hadoop 2.2.0。 現在,當我開始一個節點,我執行以下命令:不推薦使用相當於start-dfs的文件

start-dfs 

然而,警告美國,通常棄用:

DEPRECATED: Use of this script to execute hdfs command is deprecated 
Instead use the hdfs command for it. 

什麼好命令使用?

回答

2

事實上,有兩個命令的使用方法:

  1. hdfs namenode
  2. hdfs datanode