logfile to avrofile with hadoop