Open zhaopengoog opened 4 years ago
Have you fixed this problem?
This worked for me by appointing memcached.properties file. Run this command under YCSB directory:
bin/ycsb load memcached -s -P workloads/workloada -P memcached/conf/memcached.properties > outputLoad.txt
or
./bin/ycsb load memcached -s -P workloads/workloada \
-p "memcached.hosts=127.0.0.1" > outputLoad.txt
as the end of README suggested.
Hello, there,
I am following the instructions to run memcached benchmarking.
I would be grateful if somebody can give me a hint to to work around this. I don't have any experience on Java. But it looks like a option or setting issue that is easy to fix. Thanks!
The failure occurs at the 4th step:
Loading workload... log4j:WARN No appenders could be found for logger (org.apache.htrace.core.Tracer). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Starting test. 2020-06-17 19:05:07:107 0 sec: 0 operations; est completion in 0 second site.ycsb.DBException: java.lang.NullPointerException at site.ycsb.db.MemcachedClient.init(MemcachedClient.java:133) at site.ycsb.DBWrapper.init(DBWrapper.java:86) at site.ycsb.ClientThread.run(ClientThread.java:91) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NullPointerException at site.ycsb.db.MemcachedClient.createMemcachedClient(MemcachedClient.java:166) at site.ycsb.db.MemcachedClient.init(MemcachedClient.java:122) ... 3 more 2020-06-17 19:05:07:132 0 sec: 0 operations; est completion in 106751991167300 days 15 hours