change thread implmentation for hdfs polling