This is an automated email from the ASF dual-hosted git repository.

jbarrett pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git


The following commit(s) were added to refs/heads/develop by this push:
     new 4ffee416 GEODE-10296: Prevent JVM exit on parser error. (#168)
4ffee416 is described below

commit 4ffee41659f41e745066776e0213fa2f58408b7a
Author: Jacob Barrett <jbarr...@pivotal.io>
AuthorDate: Tue May 24 09:29:11 2022 -0700

    GEODE-10296: Prevent JVM exit on parser error. (#168)
    
    Configure HistogramLogProcessor to throw exceptions rather than exit.
---
 .../geode/perftest/yardstick/hdrhistogram/HdrHistogramWriter.java  | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git 
a/harness/src/main/java/org/apache/geode/perftest/yardstick/hdrhistogram/HdrHistogramWriter.java
 
b/harness/src/main/java/org/apache/geode/perftest/yardstick/hdrhistogram/HdrHistogramWriter.java
index 3ed4033e..087136f1 100644
--- 
a/harness/src/main/java/org/apache/geode/perftest/yardstick/hdrhistogram/HdrHistogramWriter.java
+++ 
b/harness/src/main/java/org/apache/geode/perftest/yardstick/hdrhistogram/HdrHistogramWriter.java
@@ -51,12 +51,13 @@ public class HdrHistogramWriter implements 
Consumer<Histogram> {
         writer.close();
       }
       HistogramLogProcessor histogramLogProcessor =
-          new HistogramLogProcessor(new String[] {"-i", 
outputFile.getAbsolutePath(), "-o",
+          new HistogramLogProcessor(new String[] {"-v", "-i", 
outputFile.getAbsolutePath(), "-o",
               outputHDRFile.getAbsolutePath()});
       histogramLogProcessor.run();
       HistogramLogProcessor histogramLogProcessorCSV =
-          new HistogramLogProcessor(new String[] {"-csv", "-i", 
outputFile.getAbsolutePath(), "-o",
-              outputCSVFile.getAbsolutePath()});
+          new HistogramLogProcessor(
+              new String[] {"-v", "-csv", "-i", outputFile.getAbsolutePath(), 
"-o",
+                  outputCSVFile.getAbsolutePath()});
       histogramLogProcessorCSV.run();
     } catch (FileNotFoundException e) {
       throw new UncheckedIOException(e);

Reply via email to