|
@@ -20,9 +20,9 @@ bucketDataPath=/dw/recommend/model/16_train_data/
|
|
|
# shellcheck disable=SC2039
|
|
|
source /root/anaconda3/bin/activate py37
|
|
|
# shellcheck disable=SC2154
|
|
|
-echo "----------step1------------开始校验是否生产完数据,分区信息:begin_early_2_Str:${begin_early_2_Str}${beginHhStr},end_early_2_Str:${end_early_2_Str}${endHhStr}"
|
|
|
+echo "----------step1------------开始校验是否生产完数据,分区信息:beginHhStr:${begin_early_2_Str}${beginHhStr},endHhStr:${end_early_2_Str}${endHhStr}"
|
|
|
while true; do
|
|
|
- python_return_code=$(python /root/joe/recommend-emr-dataprocess/qiaojialiang/checkHiveDataUtil.py --table ${table} --begin_early_2_Str ${begin_early_2_Str}${beginHhStr} --end_early_2_Str ${end_early_2_Str}${endHhStr})
|
|
|
+ python_return_code=$(python /root/joe/recommend-emr-dataprocess/qiaojialiang/checkHiveDataUtil.py --table ${table} --beginHhStr ${begin_early_2_Str}${beginHhStr} --endHhStr ${end_early_2_Str}${endHhStr})
|
|
|
echo "python 返回值:${python_return_code}"
|
|
|
if [ $python_return_code -eq 0 ]; then
|
|
|
echo "Python程序返回0,校验存在数据,退出循环。"
|