Skip to content

Commit cd4b00b

Browse files
committed
Fixed bug add hadoop knows generator which was not reading parameters properly
1 parent f550c4d commit cd4b00b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/ldbc/snb/datagen/hadoop/HadoopKnowsGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected void setup(Context context) {
3737
//this.knowsGenerator = new DistanceKnowsGenerator();
3838
this.conf = context.getConfiguration();
3939
try {
40-
this.knowsGenerator = (KnowsGenerator) Class.forName(conf.get("knowsGeneratorName")).newInstance();
40+
this.knowsGenerator = (KnowsGenerator) Class.forName(conf.get("ldbc.snb.datagen.generator.knowsGenerator")).newInstance();
4141
this.knowsGenerator.initialize(conf);
4242
}catch(Exception e) {
4343
System.out.println(e.getMessage());

0 commit comments

Comments
 (0)