fix hive command no log dir bug