Skip to content

[oltp] Result folder is not created if not exists #4

@at15

Description

@at15

$(B) -b tpcc -c $(BCONF)/sample_tpcc_config.xml --create=true --load=true --execute=true -s 5 -o result/tpcc.log

Exception in thread "main" java.io.FileNotFoundException: results/result/tpcc.log.csv (No such file or directory)
	at java.io.FileOutputStream.open0(Native Method)
	at java.io.FileOutputStream.open(FileOutputStream.java:270)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
	at java.io.PrintStream.<init>(PrintStream.java:279)
	at com.oltpbenchmark.DBWorkload.writeOutputs(DBWorkload.java:681)
	at com.oltpbenchmark.DBWorkload.main(DBWorkload.java:579)
Makefile:28: recipe for target 'tpcc' failed

so when -o dst is specified ... it will output to results/${dst}.csv instead of ${dst} ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions