setting the max number of lines per part
This commit is contained in:
parent
292c69d819
commit
ba28d1eb76
|
@ -99,6 +99,7 @@ public class DumpDatasource implements Serializable {
|
||||||
.write()
|
.write()
|
||||||
.mode(SaveMode.Overwrite)
|
.mode(SaveMode.Overwrite)
|
||||||
.option("compression", "gzip")
|
.option("compression", "gzip")
|
||||||
|
.option("maxRecordsPerFile", 10000)
|
||||||
.json(outputPath + "datasource");
|
.json(outputPath + "datasource");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -100,6 +100,7 @@ public class DumpGrant implements Serializable {
|
||||||
.write()
|
.write()
|
||||||
.mode(SaveMode.Overwrite)
|
.mode(SaveMode.Overwrite)
|
||||||
.option("compression", "gzip")
|
.option("compression", "gzip")
|
||||||
|
.option("maxRecordsPerFile", 10000)
|
||||||
.json(outputPath + "grants");
|
.json(outputPath + "grants");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -122,6 +122,7 @@ public class DumpOrganization implements Serializable {
|
||||||
.write()
|
.write()
|
||||||
.mode(SaveMode.Overwrite)
|
.mode(SaveMode.Overwrite)
|
||||||
.option("compression", "gzip")
|
.option("compression", "gzip")
|
||||||
|
.option("maxRecordsPerFile", 10000)
|
||||||
.json(outputPath + "organizations");
|
.json(outputPath + "organizations");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -100,6 +100,7 @@ public class DumpResearchProduct implements Serializable {
|
||||||
.write()
|
.write()
|
||||||
.mode(SaveMode.Overwrite)
|
.mode(SaveMode.Overwrite)
|
||||||
.option("compression", "gzip")
|
.option("compression", "gzip")
|
||||||
|
.option("maxRecordsPerFile", 10000)
|
||||||
.json(outputPath + "products");
|
.json(outputPath + "products");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -121,6 +121,7 @@ public class DumpVenue implements Serializable {
|
||||||
.write()
|
.write()
|
||||||
.mode(SaveMode.Overwrite)
|
.mode(SaveMode.Overwrite)
|
||||||
.option("compression", "gzip")
|
.option("compression", "gzip")
|
||||||
|
.option("maxRecordsPerFile", 10000)
|
||||||
.json(outputPath + "venues");
|
.json(outputPath + "venues");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -167,6 +167,7 @@ public class EmitFromEntities implements Serializable {
|
||||||
.write()
|
.write()
|
||||||
.mode(SaveMode.Overwrite)
|
.mode(SaveMode.Overwrite)
|
||||||
.option("compression", "gzip")
|
.option("compression", "gzip")
|
||||||
|
.option("maxRecordsPerFile", 10000)
|
||||||
.json(outputPath + "/topics");
|
.json(outputPath + "/topics");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -242,6 +243,7 @@ public class EmitFromEntities implements Serializable {
|
||||||
.write()
|
.write()
|
||||||
.mode(SaveMode.Overwrite)
|
.mode(SaveMode.Overwrite)
|
||||||
.option("compression", "gzip")
|
.option("compression", "gzip")
|
||||||
|
.option("maxRecordsPerFile", 10000)
|
||||||
.json(outputPath + "/persons");
|
.json(outputPath + "/persons");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue