You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ldbc_socialnet_dbgen/README.md
+17-12Lines changed: 17 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,37 +10,42 @@ The LDBC Social Network Dataset Generator (SNDG) is the responsible of providing
10
10
ldbc_socialnet_dbgen is part of the LDBC project (http://www.ldbc.eu/).
11
11
ldbc_socialnet_dbgen is GPLv3 licensed, to see detailed information about this license read the LICENSE.txt.
12
12
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/
15
13
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/)
16
18
17
19
18
20
## Compilation
19
21
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).
21
23
22
24
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
24
26
25
27
```
26
28
mvn assembly:assembly
27
29
```
28
30
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.
30
32
31
33
32
34
## Configuration
33
35
34
36
* 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
35
37
36
38
* 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
+
```
42
47
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.
44
49
45
50
46
51
## Execution
@@ -51,7 +56,7 @@ Terminology:
51
56
* $HADOOP_HOME is used to refer to the hadoop-1.0.3 folder in your system.
52
57
* $LDBC_SOCIALNET_DBGEN_HOME is used to refer to the ldbc_socialnet_dbgen folder in your system.
53
58
54
-
The execution instruction is:
59
+
To execute the generator, please type:
55
60
56
61
```
57
62
$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