Skip to content

Commit 639cb2d

Browse files
committed
Update README.md
1 parent c505e9d commit 639cb2d

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

ldbc_socialnet_dbgen/README.md

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,37 +10,42 @@ The LDBC Social Network Dataset Generator (SNDG) is the responsible of providing
1010
ldbc_socialnet_dbgen is part of the LDBC project (http://www.ldbc.eu/).
1111
ldbc_socialnet_dbgen is GPLv3 licensed, to see detailed information about this license read the LICENSE.txt.
1212

13-
This software was build using Apache hadoop version 1.0.3 and we not guarantee compatibility with newer releases.
14-
You can download hadoop 1.0.3 from http://archive.apache.org/dist/hadoop/core/hadoop-1.0.3/
1513

14+
## Requirements
15+
16+
This software is build using Apache hadoop version 1.0.3 and we not guarantee compatibility with newer releases.
17+
You can download hadoop 1.0.3 from [here](http://archive.apache.org/dist/hadoop/core/hadoop-1.0.3/)
1618

1719

1820
## Compilation
1921

20-
The compilation uses Apache Maven to automatically detect and download the necessary dependencies. See: **[maven.apache.org](http://maven.apache.org).
22+
The compilation uses Apache Maven to automatically detect and download the necessary dependencies. See: [maven.apache.org](http://maven.apache.org).
2123

2224
Make sure you are in your ldbc_socialnet_bm/ldbc_socialnet_dbgen/ project folder.
23-
To generate the jar containing all the dependencies the following maven instruction is used:
25+
To generate the jar containing all the dependencies, type
2426

2527
```
2628
mvn assembly:assembly
2729
```
2830

29-
This can lead to the generation of two jars in the target folder: the default one called ldbc_socialnet_dbgen-$Version-Number$.jar or the one containing all the dependencies inside the jar called ldbc_socialnet_dbgen.jar.
31+
This can lead to the generation of two jars in the target folder: the default one called ldbc_socialnet_dbgen-\<Version-Number\>.jar or the one containing all the dependencies inside the jar called ldbc_socialnet_dbgen.jar.
3032

3133

3234
## Configuration
3335

3436
* Configure your hadoop machine or cluster. For more information on how to do it, please refer its official page http://hadoop.apache.org/docs/stable/index.html
3537

3638
* Configure the params.ini to your needs. This file contains:
37-
- numtotalUser: The number of users the social network will have. It shoud be bigger than 1000.
38-
- startYear: The first year.
39-
- numYears: The period of years.
40-
- serializerType: The serializer type has to be one of this three values: ttl (Turtle format), n3 (N3 format), csv (coma separated value).
41-
- rdfOutputFileName: The base name for the files generated in rdf format (Turtle and N3)
39+
40+
```
41+
numtotalUser: #The number of users the social network will have. It shoud be bigger than 1000.
42+
startYear: #The first year.
43+
numYears: #The period of years.
44+
serializerType: #The serializer type has to be one of this three values: ttl (Turtle format), n3 (N3 format), csv (coma separated value).
45+
rdfOutputFileName: #The base name for the files generated in rdf format (Turtle and N3)
46+
```
4247

43-
This configuration will generate for the startYear-01-01 to the (startYear+numYears)-01-01 period activity in the simulated social network for the amount of users configurated.
48+
This configuration will generate a database for the startYear-01-01 to the (startYear+numYears)-01-01 period activity in the simulated social network for the amount of users configurated.
4449

4550

4651
## Execution
@@ -51,7 +56,7 @@ Terminology:
5156
* $HADOOP_HOME is used to refer to the hadoop-1.0.3 folder in your system.
5257
* $LDBC_SOCIALNET_DBGEN_HOME is used to refer to the ldbc_socialnet_dbgen folder in your system.
5358

54-
The execution instruction is:
59+
To execute the generator, please type:
5560

5661
```
5762
$HADOOP_HOME/bin/hadoop jar $LDBC_SOCIALNET_DBGEN_HOME/ldbc_socialnet_dbgen.jar hadoop_input_folder hadoop_output_folder Num_machines_ldbc_will_use $LDBC_SOCIALNET_DBGEN_HOME/ Final_output_folder

0 commit comments

Comments
 (0)