#建立hdfs目錄 hadoop fs -mkdir [路徑] #删除目錄/檔案 -r為遞歸删除 hadoop fs -rm -r [路徑] #上傳檔案 hadoop fs -put [本地路徑] [hdfs路徑]