hangc0276 opened a new pull request, #3858:
URL: https://github.com/apache/bookkeeper/pull/3858

   ### Motivation
   When using the bkperf command `bin/bkperf journal append -j data -n 
100000000 --sync true` to test the BookKeeper journal performance, it failed 
with the following exception
   ```
   [0.002s][error][logging] Error opening log file 
'/Users/hangc/Downloads/tmp/tc/batch/ta/bookkeeper-all-4.16.0-SNAPSHOT/logs/bkperf-gc.log':
 No such file or directory
   [0.002s][error][logging] Initialization of output 
'file=/Users/hangc/Downloads/tmp/tc/batch/ta/bookkeeper-all-4.16.0-SNAPSHOT/logs/bkperf-gc.log'
 using options 'filecount=5,filesize=64m' failed.
   Invalid -Xlog option 
'-Xlog:gc=info:file=/Users/hangc/Downloads/tmp/tc/batch/ta/bookkeeper-all-4.16.0-SNAPSHOT/logs/bkperf-gc.log::filecount=5,filesize=64m',
 see error log for details.
   Error: Could not create the Java Virtual Machine.
   Error: A fatal exception has occurred. Program will exit.
   ```
   
   The root cause is that the `logs` directory was not created.
   
   ### Modifications
   Create the `logs` directory before bkperf started.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to