HIVE-7431: refine log
HIVE-7431: remove unnecessary code