comment hdfsExists function to support hadoop 0.21 and up version
 //if roll period,roll dirctory by date format:'yyyy-MM-dd'