a shell script to save hdfs info to mysql