English 中文(简体)
Membase Java Load Generator问题
原标题:Membase Java Load Generator Problem

我正在尝试运行membase文档中提供的Java Load Generator(http://techzone.couchbase.com/wiki/display/membase/Load+发电机+设置)

首先,我修改了workloadb文件,并在其中提到了membase服务器地址。

WORKLOADB FILE CONTENT : db=com.yahoo.ycsb.db.SpymemcachedClient

memcached.address=10.72.45.165

memcached.port=11211

从属地址=10.112.83.64

直方图.桶=20

exportfile=results.txt

记录计数=200000

操作计数=500000

workload=com.yahoo.ycsb.workloads.MemcachedCoreWorkload

insertstart=200000

readallfields=真

插入比例=0

读取比例=0.95

更新比例=0

扫描比例=0

memaddproportion=0.05

memgetproportion=0.100

memsetproportion=0.25

mem更新比例=0.0

memappendproportion=0.05

memprependproportion=0.05

memreplaceproportion=0.05

memcasproportion=0.05

valuelength=2048

工作集=100000

churndelta=100000

打印状态间隔=5

requestdistribution=zipfian

线程数=4

Then, I build whole load generator project by using command : ant decompile-memcached And Tried to load data using command : java -cp build/ycsb.jar:lib/memcached-2.5-14-g3b3b3c8.jar:lib/jackson-core-asl-1.5.2.jar:lib/jackson-mapper-asl-1.5.2.jar:lib/slf4j-api-1.6.1.jar:lib/slf4j-simple-1.6.1.jar:lib/memcached-2.5-27-gc7bc636-sources.jar:lib/memcached-2.6.jar com.yahoo.ycsb.LoadGenerator -load -P worloads/workloadb

发出这个命令后,我得到了终端输出:

0秒:0次操作;0操作/秒

2011-05-24 17:05:54.022 INFO net.spy.memcached.MemcachedConnection:添加{QA sa=/10.72.45.165:11222,#Rops=0,#Wops=0,#iq=0,topRop=null,topWop=null,toWrite=0,interest=0}连接队列

2011-05-24 17:05:54.026 INFO net.spy.memcached.MemcachedConnection:添加{QA sa=/10.72.45.165:11222,#Rops=0,#Wops=0,#iq=0,topRop=null,topWop=null,toWrite=0,interest=0}连接队列

2011-05-24 17:05:54.027 INFO net.spy.memcached.MemcachedConnection:添加{QA sa=/10.72.45.165:11222,#Rops=0,#Wops=0,#iq=0,topRop=null,topWop=null,toWrite=0,interest=0}连接队列

2011-05-24 17:05:54.036 INFO net.spy.memcached.MemcachedConnection:添加{QA sa=/10.72.45.165:11222,#Rops=0,#Wops=0,#iq=0,topRop=null,topWop=null,toWrite=0,interest=0}连接队列

2011-05-24 17:05:54.046 WARN net.spy.memcached.MemcachedConnection:无法重新分发到另一个节点,正在为用户76958204重试主节点。

2011-05-24 17:05:54.047 WARN net.spy.memcached.MemcachedConnection:无法重新分发到另一个节点,正在为用户336694473重试主节点。

2011-05-24 17:05:54.048 WARN net.spy.memcached.MemcachedConnection:无法重新分发到另一个节点,正在为用户1268118805重试主节点。

2011-05-24 17:05:54.058 WARN net.spy.memcached.MemcachedConnection:无法重新分发到另一个节点,正在为用户1681771482重试主节点。

有人能指出错误吗?我有三个membase服务器在集群中运行。我不明白这个错误是什么意思。

当做

Sanket Dangi

问题回答

很抱歉回复太晚。我为这个写了一段时间的代码,从那以后就再也没有贡献过。这个项目的目的是为了我个人的基准测试,虽然它确实给我带来了很好的结果,但这个项目有很多问题,我无法抽出时间来稳定它。这使得其他人现在很难使用它。不过,我想提到的是,任何memcached加载生成器都可以与Membase一起使用,因为Membase与memcached兼容。如果您仍在尝试从Membase获得一些基准测试结果,我建议您查看https://github.com/couchbaselabs/gamesim。这是一个模拟玩家玩简单游戏的工作负载模拟器。

如果我能找到时间来改进和稳定这个项目,我会更新这个帖子。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签