hdfs操作命令

文件操作命令:
hdfs dfs -ls /
hdfs dfs -mkdir /
hdfs dfs -rm -rf /hdfs
hdfs dfs -du
hdfs dfs -get /hdfs /local
hdfs dfs -put /local /hdfs

管理命令:
hdfs dfsadmin -report
yarn node -list
yarn rmadmin

原文地址:https://www.cnblogs.com/timlong/p/9803635.html