output log to hadoop