mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
fix header bug
This commit is contained in:
@@ -15,6 +15,7 @@ description: |
|
|||||||
|
|
||||||
scenarios:
|
scenarios:
|
||||||
cassandra:
|
cassandra:
|
||||||
|
drop: run tags='block:drop' labels='target:astra' threads===1 cycles===2
|
||||||
# nb5 cql-vector2 cassandra.schema host=localhost localdc=datacenter1 dimensions=100
|
# nb5 cql-vector2 cassandra.schema host=localhost localdc=datacenter1 dimensions=100
|
||||||
schema: run tags='block:schema' threads==undef cycles==undef
|
schema: run tags='block:schema' threads==undef cycles==undef
|
||||||
# nb5 cql-vector2 cassandra.rampup host=localhost localdc=datacenter1 dimensions=100 trainsize=1000000 dataset=glove-100-angular rate=10000
|
# nb5 cql-vector2 cassandra.rampup host=localhost localdc=datacenter1 dimensions=100 trainsize=1000000 dataset=glove-100-angular rate=10000
|
||||||
|
|||||||
@@ -214,7 +214,6 @@ public class CsvReporter extends PeriodicTaskComponent {
|
|||||||
if (!Files.exists(path)) {
|
if (!Files.exists(path)) {
|
||||||
addHeader = true;
|
addHeader = true;
|
||||||
Files.createFile(path, PosixFilePermissions.asFileAttribute(PosixFilePermissions.fromString("rwxrwxr--")));
|
Files.createFile(path, PosixFilePermissions.asFileAttribute(PosixFilePermissions.fromString("rwxrwxr--")));
|
||||||
Files.writeString(path, firstline);
|
|
||||||
}
|
}
|
||||||
BufferedWriter buf = Files.newBufferedWriter(path, StandardOpenOption.CREATE, StandardOpenOption.APPEND);
|
BufferedWriter buf = Files.newBufferedWriter(path, StandardOpenOption.CREATE, StandardOpenOption.APPEND);
|
||||||
PrintWriter out = new PrintWriter(buf);
|
PrintWriter out = new PrintWriter(buf);
|
||||||
|
|||||||
Reference in New Issue
Block a user