From 8b7b5baf76896bc15794af9c8f6572b20ab72ace Mon Sep 17 00:00:00 2001 From: frankleaf <62129564+frankleaf@users.noreply.github.com> Date: Tue, 1 Mar 2022 17:27:58 +0800 Subject: [PATCH] enable run jindo dataload synchronously (#1477) Signed-off-by: frankleaf --- charts/fluid-dataloader/jindo/templates/configmap.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/fluid-dataloader/jindo/templates/configmap.yaml b/charts/fluid-dataloader/jindo/templates/configmap.yaml index 37d18f0d6be..6795e17952b 100644 --- a/charts/fluid-dataloader/jindo/templates/configmap.yaml +++ b/charts/fluid-dataloader/jindo/templates/configmap.yaml @@ -70,7 +70,7 @@ data: fi if [[ $enbaleCacheListLocation == 'false' ]]; then - cmd="$cmd -R -replica $replica $default$path" + cmd="$cmd -s -R -replica $replica $default$path" echo -e "execute cmd $cmd" time $cmd else @@ -80,7 +80,7 @@ data: chmod 755 ossutil64 ./ossutil64 -e $cacheListEndpoint -i $cacheListAccessKeyId -k $cacheListAccessKeySecret cp $cacheListUrl /cachelist.txt echo -e "--- enable File List" - cmd="$cmd -R -replica $cacheListReplica -cachelist /cachelist.txt -thread $cacheListThread $default/" + cmd="$cmd -s -R -replica $cacheListReplica -cachelist /cachelist.txt -thread $cacheListThread $default/" echo -e "execute cmd $cmd" time $cmd fi