grep ERROR /var/log/hadoop/hdfs/hadoop-hdfs-datanode-${HOSTNAME}.log | awk-F":"'{print $NF}' | sort-nr | uniq -c |sort -nr
grep ERROR /var/log/hadoop/hdfs/hadoop-hdfs-datanode-${HOSTNAME}.log | awk-F":"'{print $NF}' | sort-nr | uniq -c |sort -nr