Skip to content

Commit

Permalink
Fix scripts/generate-data.sh (#94)
Browse files Browse the repository at this point in the history
* fix scripts/generate-data.sh, address for github repo:ldbc_snb_datagen has changed, need revise git clone xxx command

* fix scripts/generate-data.sh, address for github repo:ldbc_snb_datagen has changed, need revise git clone xxx command

* change variable LDBC_SNB_DATAGEN_VERSION=0.3.3
  • Loading branch information
AcKing-Sam authored Dec 25, 2023
1 parent 3ced57e commit 9772705
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/env.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

LDBC_SNB_DATAGEN_VERSION=v0.3.3
LDBC_SNB_DATAGEN_VERSION=0.3.3
HADOOP_VERSION=3.2.1

scaleFactor=${scaleFactor:-1}
Expand Down
4 changes: 3 additions & 1 deletion scripts/generate-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ if [ -d ${DATA_DIR}/ldbc_snb_datagen ];then
else
cd ${DATA_DIR} && \
rm -rf ldbc_snb_datagen && \
git clone --branch ${LDBC_SNB_DATAGEN_VERSION} https://github.com/ldbc/ldbc_snb_datagen && \
wget https://github.com/ldbc/ldbc_snb_datagen_hadoop/archive/refs/tags/v${LDBC_SNB_DATAGEN_VERSION}.tar.gz && \
tar -zxvf v${LDBC_SNB_DATAGEN_VERSION}.tar.gz && \
mv ldbc_snb_datagen_hadoop-${LDBC_SNB_DATAGEN_VERSION} ldbc_snb_datagen && \
cd ldbc_snb_datagen && \
cp test_params.ini params.ini
fi
Expand Down

0 comments on commit 9772705

Please sign in to comment.