optimize sendhdfs