Skip to content

Commit 301fcf2

Browse files
committed
Merge branch 'batching' of https://github.com/ldbc/ldbc_snb_datagen into batching
2 parents 0addba6 + f79a719 commit 301fcf2

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,6 @@ datagen_output/
5050
# Hadoop directory extracted as instructed in the Quick Start guide
5151
/hadoop-2.6.0.tar.gz
5252
/hadoop-2.6.0/
53+
54+
# configuration file
55+
params.ini

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ before_install:
1313
- docker build . --tag ldbc/datagen
1414
install: true
1515
script:
16+
- cp params-csv.ini params.ini
1617
- docker run --rm --mount type=bind,source="$(pwd)/",target="/opt/ldbc_snb_datagen/out" --mount type=bind,source="$(pwd)/params.ini",target="/opt/ldbc_snb_datagen/params.ini" ldbc/datagen
1718
- mkdir out
1819
- cp -r substitution_parameters out/

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ docker build . --tag ldbc/datagen
5454

5555
To configure the amount of memory available, set the `HADOOP_CLIENT_OPTS` variable in the Dockerfile. The default value is `-Xmx8G`.
5656

57+
Initialize the `params.ini` file as needed. For example, to generate the basic CSV files, issue:
58+
59+
```bash
60+
cp params-csv.ini params.ini
61+
```
62+
5763
#### Running
5864

5965
In order to run the container, a `params.ini` file is required. For reference, please see the `params*.ini` files in the repository. The file will be mounted in the container by the `--mount type=bind,source="$(pwd)/params.ini,target="/opt/ldbc_snb_datagen/params.ini"` option. If required, the source path can be set to a different path.
File renamed without changes.

0 commit comments

Comments
 (0)