#!bin/sh HIVE_HOME=XXX SQL_PATH=XXX LOG_HOME=XXX ${HIVE_HOME}/bin/hive -f ${SQL_PATH}/target.sql >& ${LOG_HOME}/xxx.log