伏地魔问题和错误

时间:2013-09-19 13:38:30

标签: java memcached voldemort

今天我用我的linux机器试过伏地魔,但我无法完全继续。以下错误我在尝试使用“PUT”关键字存储值时得到了它。

请查看此信息并获取解决方案

server.properties
bdb.sync.transactions=false
bdb.cache.size=1000MB

max.threads=5000

http.enable=true
socket.enable=true

node.id=0

kumaran @ mohandoss-Vostro-1550:/home/kumaran/voldemort-1.3.0$ ./bin/voldemort-admin-tool.sh --get-metadata --url tcp:// localhost:5555

[19:05:55,373 voldemort.store.socket.clientrequest.ClientRequestExecutorFactory$ClientRequestSelectorManager] INFO Closed, exiting  [voldemort-niosocket-client-3]
 [19:05:55,374 voldemort.store.socket.clientrequest.ClientRequestExecutorFactory$ClientRequestSelectorManager] INFO Closed, exiting  [voldemort-niosocket-client-8]
 [19:05:55,374 voldemort.store.socket.clientrequest.ClientRequestExecutorFactory$ClientRequestSelectorManager] INFO Closed, exiting  [voldemort-niosocket-client-7]
 [19:05:55,373 voldemort.store.socket.clientrequest.ClientRequestExecutorFactory$ClientRequestSelectorManager] INFO Closed, exiting  [voldemort-niosocket-client-6]
 [19:05:55,373 voldemort.store.socket.clientrequest.ClientRequestExecutorFactory$ClientRequestSelectorManager] INFO Closed, exiting  [voldemort-niosocket-client-5]
 [19:05:55,373 voldemort.store.socket.clientrequest.ClientRequestExecutorFactory$ClientRequestSelectorManager] INFO Closed, exiting  [voldemort-niosocket-client-4]
 [19:05:55,373 voldemort.store.socket.clientrequest.ClientRequestExecutorFactory$ClientRequestSelectorManager] INFO Closed, exiting  [voldemort-niosocket-client-1]
 [19:05:55,373 voldemort.store.socket.clientrequest.ClientRequestExecutorFactory$ClientRequestSelectorManager] INFO Closed, exiting  [voldemort-niosocket-client-2]
 [19:05:55,376 voldemort.store.socket.clientrequest.ClientRequestExecutor] WARN No client associated with Socket[unconnected]  [main]
 [19:05:55,376 voldemort.store.socket.clientrequest.ClientRequestExecutor] INFO Closing remote connection from Socket[unconnected]  [main]
 localhost:0
Key - cluster.xml
version() ts:1379597320733
: <cluster>
  <name>Kumaran</name>
  <server>
    <id>0</id>
    <host>localhost</host>
    <http-port>8081</http-port>
    <socket-port>5554</socket-port>
    <admin-port>5555</admin-port>
    <partitions>0, 1</partitions>
  </server>
  <server>
    <id>1</id>
    <host>localhost</host>
    <http-port>8082</http-port>
    <socket-port>5556</socket-port>
    <admin-port>5557</admin-port>
    <partitions>2, 3</partitions>
  </server>
</cluster>

Key - stores.xml
version() ts:1379597320847
: <stores>
  <store>
    <name>test1</name>
    <persistence>bdb</persistence>
    <routing-strategy>consistent-routing</routing-strategy>
    <routing>client</routing>
    <replication-factor>2</replication-factor>
    <required-reads>2</required-reads>
    <required-writes>2</required-writes>
    <key-serializer>
      <type>string</type>
      <schema-info version="0">UTF-8</schema-info>
    </key-serializer>
    <value-serializer>
      <type>string</type>
      <schema-info version="0">UTF-8</schema-info>
    </value-serializer>
  </store>
</stores>

Key - server.state
version() ts:1379597320870
: NORMAL_SERVER

Key - node.id
version() ts:1379597320865
: 0

Key - rebalancing.steal.info.key
version() ts:1379597320869
: []

localhost:1
Key - cluster.xml
Error in retrieving Failure while checking out socket for localhost:5557(ad1):

Key - stores.xml
Error in retrieving Failure while checking out socket for localhost:5557(ad1):

Key - server.state
Error in retrieving Failure while checking out socket for localhost:5557(ad1):

Key - node.id
Error in retrieving Failure while checking out socket for localhost:5557(ad1):

Key - rebalancing.steal.info.key
Error in retrieving Failure while checking out socket for localhost:5557(ad1):
  • 库马兰

1 个答案:

答案 0 :(得分:0)

无法访问的商店异常,尝试缓存您的客户端连接,可能有太多的开放连接,现在被拒绝。

确保您有足够的客户端线程来处理服务器连接线程。

无法提供更多帮助,因为您的问题并不完全详细或有帮助。