#!/bin/bash # DataX hive-import 入口 bash 壳:初始化 env(含 workers.ini 展开)后 exec 到 Python 主入口。 # 参数集见 bin/datax-hive-import-starter.py。 CURRENT_DIR=$(pwd) BASE_DIR=$( cd "$(dirname "$(realpath "$0")")/.." || exit pwd ) . "${BASE_DIR}"/bin/common/init.sh exec "${PYTHON3_PATH}" -u "${BASE_DIR}"/bin/datax-hive-import-starter.py "$@"