mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-11-22 00:38:05 -06:00
fix header bug
This commit is contained in:
parent
2250af5748
commit
ff7d6e1aee
@ -15,6 +15,7 @@ description: |
|
||||
|
||||
scenarios:
|
||||
cassandra:
|
||||
drop: run tags='block:drop' labels='target:astra' threads===1 cycles===2
|
||||
# nb5 cql-vector2 cassandra.schema host=localhost localdc=datacenter1 dimensions=100
|
||||
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
|
||||
|
@ -214,7 +214,6 @@ public class CsvReporter extends PeriodicTaskComponent {
|
||||
if (!Files.exists(path)) {
|
||||
addHeader = true;
|
||||
Files.createFile(path, PosixFilePermissions.asFileAttribute(PosixFilePermissions.fromString("rwxrwxr--")));
|
||||
Files.writeString(path, firstline);
|
||||
}
|
||||
BufferedWriter buf = Files.newBufferedWriter(path, StandardOpenOption.CREATE, StandardOpenOption.APPEND);
|
||||
PrintWriter out = new PrintWriter(buf);
|
||||
|
Loading…
Reference in New Issue
Block a user