#!/bin/bashHADOOP=$(which hadoop)$HADOOP fs -test -e $1if [ $? -eq 1 ] then $HADOOP fs -put $1 / if [ $? -eq 0 ] then echo "the file $1 put successfully!" fifi