Hi 我在VMWare虚机上运行了一个CentOS 7虚机,内存4G,启动后一切正常。
在命令行测试put,成功。
JAVA客户端程序运行了put后,ResultCode rc = tairManager.put(m_Space, key, value, version); rc.isSuccess()为true,但是在得到这个返回后,紧接着用Result<DataEntry> result = tairManager.get(m_Space, key);访问同样的key,得到返回Result: [code=1, msg=data not exist]。
查看tair日志,server.log中有如下日志:
[2016-07-03 19:44:29.193504] ERROR handlePacket (heartbeat_thread.cpp:141) [140401369941760] ControlPacket, cmd:2[2016-07-03 19:44:29.193554] ERROR handlePacket (heartbeat_thread.cpp:141) [140401369941760] ControlPacket, cmd:3
[2016-07-03 19:44:30.195996] ERROR handlePacket (heartbeat_thread.cpp:141) [140401369941760] ControlPacket, cmd:2[2016-07-03 19:44:30.196047] ERROR handlePacket (heartbeat_thread.cpp:141) [140401369941760] ControlPacket, cmd:3
[2016-07-03 19:44:31.199025] ERROR handlePacket (heartbeat_thread.cpp:141) [140401369941760] ControlPacket, cmd:2[2016-07-03 19:44:31.199099] ERROR handlePacket (heartbeat_thread.cpp:141) [140401369941760] ControlPacket, cmd:3
[2016-07-03 19:44:32.201527] ERROR handlePacket (heartbeat_thread.cpp:141) [140401369941760] ControlPacket, cmd:2[2016-07-03 19:44:32.201585] ERROR handlePacket (heartbeat_thread.cpp:141) [140401369941760] ControlPacket, cmd:3
[2016-07-03 19:44:33.204241] ERROR handlePacket (heartbeat_thread.cpp:141) [140401369941760] ControlPacket, cmd:2[2016-07-03 19:44:33.204288] ERROR handlePacket (heartbeat_thread.cpp:141) [140401369941760] ControlPacket, cmd:3
[2016-07-03 19:44:34.207296] ERROR handlePacket (heartbeat_thread.cpp:141) [140401369941760] ControlPacket, cmd:2[2016-07-03 19:44:34.207345] ERROR handlePacket (heartbeat_thread.cpp:141) [140401369941760] ControlPacket, cmd:3
[2016-07-03 19:44:35.210296] ERROR handlePacket (heartbeat_thread.cpp:141) [140401369941760] ControlPacket, cmd:2[2016-07-03 19:44:35.210349] ERROR handlePacket (heartbeat_thread.cpp:141) [140401369941760] ControlPacket, cmd:3
[2016-07-03 19:44:36.213486] ERROR handlePacket (heartbeat_thread.cpp:141) [140401369941760] ControlPacket, cmd:2[2016-07-03 19:44:36.213605] ERROR handlePacket (heartbeat_thread.cpp:141) [140401369941760] ControlPacket, cmd:3
[2016-07-03 19:44:37.216582] ERROR handlePacket (heartbeat_thread.cpp:141) [140401369941760] ControlPacket, cmd:2[2016-07-03 19:44:37.216630] ERROR handlePacket (heartbeat_thread.cpp:141) [140401369941760] ControlPacket, cmd:3
[2016-07-03 19:44:38.219981] WARN update_server_table (tair_manager.cpp:1397) [140400987592448] updateServerTable, size: 2046[2016-07-03 19:44:38.219991] ERROR handlePacket (heartbeat_thread.cpp:227) [140401369941760] _areaCapacityVersion = 21
[2016-07-03 19:44:38.220045] ERROR handlePacket (heartbeat_thread.cpp:232) [140401369941760] area 0, capacity 1124000[2016-07-03 19:45:02.671196] ERROR createPacket (../../src/packets/packet_factory.cpp:261) [140401948776192] createpacket error: pcode=1404
[2016-07-03 19:45:02.671252] ERROR handlePacket (tair_server.cpp:212) [140401948776192] ControlPacket, cmd:1
请问是什么问题?
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。