for i in $(seq 1 10)
do
date=date -d "$date_base -$i days" "+%Y-%m-%d"
echo $date
for cid1 in "5025" "1315" "1672"
do
nohup pig -useHCatalog -param dt=${date} cs=${cid1} join_feature_qq.pig >log/log_$date_$cid1 2>&1 &
done
wait
done
RT,新手上路,这段代码老是执行不成功,请问有什么问题吗
1
fuge 2018-07-31 14:51:25 +08:00
怎么执行的?命令行还是 script,报什么错
|
2
957204459 2018-07-31 15:08:50 +08:00 via iPhone
问题很多兄弟
|
3
JackEggie 2018-07-31 15:46:42 +08:00
|