Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed annoying stack trace dump if property 'exported' not found

  • Loading branch information...
commit 1acf1d0444177a86813d1807bb1910041c14ce75 1 parent 26a5f7f
@rsumbaly rsumbaly authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/com/yahoo/ycsb/Client.java
View
2  src/com/yahoo/ycsb/Client.java
@@ -399,7 +399,7 @@ private static void exportMeasurements(Properties props, int opcount, long runti
}
// if no exporter is provided the default text one will be used
- String exporterStr = props.getProperty("exporter");
+ String exporterStr = props.getProperty("exporter", "com.yahoo.ycsb.measurements.exporter.TextMeasurementsExporter");
try
{
exporter = (MeasurementsExporter) Class.forName(exporterStr).getConstructor(OutputStream.class).newInstance(out);
Please sign in to comment.
Something went wrong with that request. Please try again.