forked from antonis.lempesis/dnet-hadoop
removed import limit
This commit is contained in:
parent
7fe6835b47
commit
245b4cbbb3
|
@ -41,7 +41,6 @@ public class SparkGraphImporterJob {
|
||||||
.map(Tuple2::_2)
|
.map(Tuple2::_2)
|
||||||
.map(s -> new ObjectMapper().readValue(s, clazz))
|
.map(s -> new ObjectMapper().readValue(s, clazz))
|
||||||
.rdd(), Encoders.bean(clazz))
|
.rdd(), Encoders.bean(clazz))
|
||||||
.limit(1000)
|
|
||||||
.write()
|
.write()
|
||||||
.mode(SaveMode.Overwrite)
|
.mode(SaveMode.Overwrite)
|
||||||
.saveAsTable(hiveDbName + "." + name);
|
.saveAsTable(hiveDbName + "." + name);
|
||||||
|
|
Loading…
Reference in New Issue