have a char pointer local varibale
maintain a hdfs_wrote_messages/bytes counter per thread also