yugabyte / tpcc

Repo to run TPCC benchmarks against YugabyteDB
Other
24 stars 21 forks source link

Fix for DemicalFormatException caused due to grouping in double number #120

Closed sonalsagarwal closed 3 years ago

sonalsagarwal commented 3 years ago

Fix for the exception :

ERROR - Unexpected error when running benchmarks. 
java.lang.NumberFormatException: For input string: "1,288.4", 
      at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
      at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
      at java.lang.Double.parseDouble(Double.java:538)
      at com.oltpbenchmark.benchmarks.tpcc.JsonMetricsHelper.setTestResults(JsonMetricsHelper.java:38)
      at com.oltpbenchmark.DBWorkload.PrintToplineResults(DBWorkload.java:523)
      at com.oltpbenchmark.DBWorkload.runWorkload(DBWorkload.java:482)
      at com.oltpbenchmark.DBWorkload.main(DBWorkload.java:384)