开发者社区> 问答> 正文

tair运行报错

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

请问是什么问题?







展开
收起
gcai78 2016-07-03 19:59:23 5381 0
2 条回答
写回答
取消 提交回答
  • 回 1楼浅墨的帖子
    解决了,就是您说的问题
    2016-07-04 04:26:24
    赞同 展开评论 打赏
  • 三尺微命 一介书生
    请确定你的namespace有配额信息,参考论坛的tair安装帖子,在 group.conf 里设置
    2016-07-03 22:32:07
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
阿里云Redis企业版Tair持久存储系列技术解读 立即下载
阿里云Redis企业版Tair持久存储系列产品详解 立即下载
阿里云内存数据库Tair 立即下载