brianfrankcooper / YCSB

Yahoo! Cloud Serving Benchmark
Apache License 2.0
4.9k stars 2.22k forks source link

Couldn't find exporter will use default exporter error #665

Open ghost opened 8 years ago

ghost commented 8 years ago

I have this issue whenever I load data to MySQL using JDBC or run workloads on it, MongoDB, and HBase10 I sometimes get that message rather randomly and couldn't trace the problem. Obviously the issue in exporting the workload measurements, workloads work fine. This error happens when I export the measurements to txt file or just leave the default exporter.

screen shot 2016-03-24 at 1 07 07 am
busbey commented 8 years ago

Please include the YCSB version you're using as well as the command line you run.

ghost commented 8 years ago

I just pulled the latest version from this repo yesterday before running the workload

busbey commented 8 years ago

Could you try with the 0.7.0 release?

Also, what command line did you use to launch the job?

ghost commented 8 years ago

JDBC Command: ./bin/ycsb load jdbc -s -P workloads/workloada -cp /path_to_jdbc_jar/mysql-connector-java-5.1.38-bin.jar -p jdbc.driver="com.mysql.jdbc.Driver" -p db.url="jdbc:mysql://localhost:3306/another11GBdb" -p db.user="root" -p db.passwd="" -p insertstart=0 -p insertorder=ordered > mysqlload11GB.txt

MongoDB Command: /bin/ycsb run mongodb -s -P workloads/workloade -p mongodb.url="mongodb://localhost:27017/smalldb?w=0" -p operationcount="1000000"

HBase Command: bin/ycsb run hbase10 -P workloads/workloada -cp /path_to_HBase_home/conf -p table=usertable2 -p columnfamily=family -s -p operationcount="100000"

kruthar commented 8 years ago

If running from the release does not help. Can you please post your entire output? I ran your exact command (except for authentication changes for mysql), and it worked just fine from source pulled today.

Have you altered the code in anyway?

ghost commented 8 years ago

It worked from the 0.7.0 release. However I tried running from the repo cloned version and the issue still persists for JDBC using the same command and the same output above. No I haven't altered the code.

busbey commented 8 years ago

When you download the repo, are you running from a source release? it would show a warning like this at the start:

[WARN] Running against a source checkout. In order to get our runtime dependencies we'll have to invoke Maven. Depending on the state of your system, this may take ~30-45 seconds

ghost commented 8 years ago

yes that warning appears

busbey commented 8 years ago

Can you capture all of the output for one of the JDBC runs and attach it to this issue? I just went through running from source against mysql and I didn't get any warnings about exporters.

ghost commented 8 years ago
screen shot 2016-03-26 at 8 18 17 am
busbey commented 8 years ago

can you capture it as a text file?

ghost commented 8 years ago

There you go :D output.docx

busbey commented 8 years ago

can you check that the class is present in the core jar? it should look like this

Busbey-MBA:YCSB busbey$ jar tf core/target/core-0.8.0-SNAPSHOT.jar | grep "TextMeasurementsExporter"
com/yahoo/ycsb/measurements/exporter/TextMeasurementsExporter.class
Busbey-MBA:YCSB busbey$ 
ghost commented 8 years ago

Running the command: YCSB git:(master) ✗ jar tf core/target/core-0.8.0-SNAPSHOT.jar | grep"TextMeasurementsExporter"`

Output:

com/yahoo/ycsb/measurements/exporter/TextMeasurementsExporter.class

risdenk commented 8 years ago

@amallasheen just curious what version of Java are you running?

ghost commented 8 years ago

@risdenk here is the java version ➜ ~ java -version java version "1.8.0_20" Java(TM) SE Runtime Environment (build 1.8.0_20-b26) Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)

busbey commented 6 years ago

@amallasheen are you still facing this issue?