Skip to content

Commit c505e9d

Browse files
committed
added code snippets to readme.md
1 parent 13a67bf commit c505e9d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

ldbc_socialnet_dbgen/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,16 @@ You can download hadoop 1.0.3 from http://archive.apache.org/dist/hadoop/core/ha
1717

1818
## Compilation
1919

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

2222
Make sure you are in your ldbc_socialnet_bm/ldbc_socialnet_dbgen/ project folder.
2323
To generate the jar containing all the dependencies the following maven instruction is used:
2424

25+
```
2526
mvn assembly:assembly
27+
```
2628

27-
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.
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.
2830

2931

3032
## Configuration
@@ -51,7 +53,9 @@ Terminology:
5153

5254
The execution instruction is:
5355

56+
```
5457
$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
58+
```
5559

5660
You can refer to the run.sh script to see a clearer example of how to run it.
5761

0 commit comments

Comments
 (0)