0
我試圖讓頭,但它說,非法-v選項HDFS -count:非法-v選項
hdfs dfs -count -q -h -v hdfs_path
-count: Illegal option -v
的Hadoop版本:Hadoop的2.6.0.3.0.0.0-249
源鏈接:hdfs count
我試圖讓頭,但它說,非法-v選項HDFS -count:非法-v選項
hdfs dfs -count -q -h -v hdfs_path
-count: Illegal option -v
的Hadoop版本:Hadoop的2.6.0.3.0.0.0-249
源鏈接:hdfs count
版本問題。
鏈接上的文檔與hadoop 2.7相關。這似乎-v沒有在Hadoop中存在2.6
這是Hadoop的2.6的文檔的選項:https://hadoop.apache.org/docs/r2.6.0/hadoop-project-dist/hadoop-common/FileSystemShell.html#count
如果我的回答能夠幫助您,請接受它的答案 – RojoSam