当前位置:知识百问>百科问答>hadoop中命令经常含有-fs,-dfs,fs和dfs有什么区别?作用是什么?

hadoop中命令经常含有-fs,-dfs,fs和dfs有什么区别?作用是什么?

2023-05-28 00:43:47 编辑:join 浏览量:605

hadoop中命令经常含有-fs,-dfs,fs和dfs有什么区别?作用是什么?

You can see definitions of the two commands (hadoop fs & hadoop dfs) in 可以看一下hadoop的源代码$HADOOP_HOME/bin/hadoop...elif [ "$COMMAND" = "datanode" ] ; then CLASS='org.apache.hadoop.hdfs.server.datanode.DataNode' HADOOP_OPTS="$HADOOP_OPTS $HADOOP_DATANODE_OPTS"elif [ "$COMMAND" = "fs" ] ; then CLASS=org.apache.hadoop.fs.FsShell HADOOP_OPTS="$HADOOP_OPTS $HADOOP_CLIENT_OPTS"elif [ "$COMMAND" = "dfs" ] ; then CLASS=org.apache.hadoop.fs.FsShell HADOOP_OPTS="$HADOOP_OPTS $HADOOP_CLIENT_OPTS"elif [ "$COMMAND"蚂者扮 = "dfsadmin" ] ; then CLASS=org.apache.hadoop.hdfs.tools.DFSAdmin HADOOP_OPTS="$HADOOP_OPTS $HADOOP_CLIENT_OPTS"...So, they are exactly the same.所以,发嫌森现两者是完全一样的闷灶功能。谢谢

标签:fs,dfs,hadoop

版权声明:文章由 知识百问 整理收集,来源于互联网或者用户投稿,如有侵权,请联系我们,我们会立即处理。如转载请保留本文链接:https://www.zhshbaiwen.com/answer/115567.html
热门文章