Skip to content

Commit f466302

Browse files
committed
Add check to make sure the parameter file exists
1 parent 1fc00e2 commit f466302

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

run.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/bin/bash
2+
3+
if [ ! -f params.ini ]; then
4+
echo "Parameters file (params.ini) not found."
5+
exit 1
6+
fi
7+
28
DEFAULT_HADOOP_HOME=/home/user/hadoop-2.9.2 #change to your hadoop folder
39
DEFAULT_LDBC_SNB_DATAGEN_HOME=`pwd` #change to your ldbc_snb_datagen folder
410

0 commit comments

Comments
 (0)