Open ghost opened 8 years ago
Please include the YCSB version you're using as well as the command line you run.
I just pulled the latest version from this repo yesterday before running the workload
Could you try with the 0.7.0 release?
Also, what command line did you use to launch the job?
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"
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?
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.
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
yes that warning appears
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.
can you capture it as a text file?
There you go :D output.docx
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$
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
@amallasheen just curious what version of Java are you running?
@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)
@amallasheen are you still facing this issue?
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.