檢測hdfs 文件是否存在並獲取文件列表、大小、建立時間的shell開發

命名 check_hdfs_dir.shbash 運行:oop sh check_hdfs_dir.sh /usr/data/000/hadoop 代碼以下:awk #!/bin/bashsed   lujing=$1date echo $lujingfile   command="hadoop fsck "${lujing}" > hadoop_fsck.txt"grep eval $comma
相關文章
相關標籤/搜索