summaryrefslogtreecommitdiffstats
path: root/components/datalake-handler
diff options
context:
space:
mode:
authorKate Hsuan <kate.hsuan@qct.io>2020-03-31 07:33:39 +0000
committerKate Hsuan <kate.hsuan@qct.io>2020-03-31 07:33:39 +0000
commit15a6fdd45ae12e4d4ad8579d0b4b705b03961173 (patch)
tree8b5a2a798e23303257f1504675edc1678b43bfdd /components/datalake-handler
parentf32825f5f5cc5944b3108b1cf5c3e49476e72f1c (diff)
Fix start up script of feeder.
Issue-ID: DCAEGEN2-2171 Signed-off-by: Kate Hsuan <kate.hsuan@qct.io> Change-Id: I88332f7b57937cf0384b0153e5c6b74a60313fd4
Diffstat (limited to 'components/datalake-handler')
-rw-r--r--components/datalake-handler/feeder/src/assembly/run.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/datalake-handler/feeder/src/assembly/run.sh b/components/datalake-handler/feeder/src/assembly/run.sh
index 0f9bac41..79547a6d 100644
--- a/components/datalake-handler/feeder/src/assembly/run.sh
+++ b/components/datalake-handler/feeder/src/assembly/run.sh
@@ -7,12 +7,12 @@ echo "start init db ..."
echo "finish init db"
cmd=`find . -regex '\./feeder-[0-9]+\.[0-9]+\.[0-9]+[-SNAPSHOT]+\.jar'`
-cmd1= `find . -regex '\./feeder-[0-9]+\.[0-9]+\.[0-9]+\.jar'`
+cmd1=`find . -regex '\./feeder-[0-9]+\.[0-9]+\.[0-9]+\.jar'`
if [ -n "$cmd" ]; then
java -jar $cmd
elif [ -n "$cmd1" ]; then
java -jar $cmd
else
- echo"STRING is empty"
+ echo "STRING is empty"
sleep 10000
fi