Trafodion Troubleshooting-current onlineEpoch is less than new onlineEpoch
来源:互联网 发布:微商推广软件 编辑:程序博客网 时间:2024/05/22 13:22
现象
Trafodion中建表或创建索引时,有时候会报以下错误,
*** ERROR[8448] Unable to access Hbase interface. Call to ExpHbaseInterface::create() returned error HBASE_CREATE_ERROR(701). Cause: java.io.IOException: createTable exception. Unable to create table TRAFODION.PKSAAS.IDX_MAC Reason: java.io.IOException: createTable call errororg.trafodion.dtm.HBaseTxClient.callCreateTable(HBaseTxClient.java:2070) Caused byjava.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: java.io.IOException: pushOnlineEpoch -- Error: current onlineEpoch 1499063472720 is less than new onlineEpoch 1499063474350, transId: 3096233333801809 in region: TRAFODION.PKSAAS.IDX_MAC,\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00,1499063474876.95cbea5810b97773deced4a97aa60348.
分析
OnlineEpoch是与时钟同步有关的错误,由于Trafodion是分布式数据库,需要保证不同的节点时钟是同步的。
解决
1 检查各节点的ntp服务
[trafodion@n11 logs]$ sudo pdsh $MY_NODES service ntpd statusn12: ntpd (pid 42175) is running...n11: ntpd (pid 7277) is running...n13: ntpd (pid 52856) is running...n14: ntpd (pid 33192) is running...
2 检查各节点的时间
[trafodion@n11 logs]$ pdsh $MY_NODES daten12: Mon Jul 3 14:39:29 CST 2017n13: Mon Jul 3 14:39:32 CST 2017n14: Mon Jul 3 14:39:32 CST 2017n11: Mon Jul 3 14:39:32 CST 2017
3 从以上结果判断n12的时间与其他节点不一致,需要手动同步(1 关闭ntp服务 2 ntpdate 3 启动ntp服务)
[root@n12 trafodion]# service ntpd stopShutting down ntpd: [ OK ][root@n12 trafodion]# ntpdate n11 3 Jul 14:42:25 ntpdate[33285]: step time server 10.10.11.11 offset 2.854010 sec[trafodion@n12 ~]$ pdsh $MY_NODES daten12: Mon Jul 3 14:42:49 CST 2017n13: Mon Jul 3 14:42:49 CST 2017n14: Mon Jul 3 14:42:49 CST 2017n11: Mon Jul 3 14:42:49 CST 2017[root@n12 trafodion]# service ntpd startStarting ntpd: [ OK ]
阅读全文
1 0
- Trafodion Troubleshooting-current onlineEpoch is less than new onlineEpoch
- Trafodion Troubleshooting-NotServingRegionException region is not online
- Trafodion Troubleshooting
- Trafodion Troubleshooting
- Trafodion Troubleshooting
- Trafodion Troubleshooting
- {Less} is more, than Css
- # less(less is more, Than css)
- Trafodion Troubleshooting-Region xxx is not online on xxx
- # less(less is more, Than# less(less is more, Than css)
- Trafodion Troubleshooting-initialize trafodion Killed
- Trafodion Troubleshooting 常用命令
- Trafodion Troubleshooting-OutOfOrderScannerNextException
- Trafodion Troubleshooting-Certificate file error
- The number of points is less than required for feature
- Inconsistent accessibility: field type '...' is less accessible than field '...'
- The number of points is less than required for feature
- kubernetes free data blocks which is less than minimum required
- oracle中如何判断某个日期是星期几
- java -Xms -Xmx设置java应用程序运行的内存大小,Xms Xmx PermSize MaxPermSize 区别
- iOS Protocol 协议
- 数据挖掘经典算法--朴素贝叶斯分类
- 关于The MVP
- Trafodion Troubleshooting-current onlineEpoch is less than new onlineEpoch
- jackson序列化json报错java.lang.StackOverflowError
- 利用vmware在自己的个人电脑上面搭建虚拟linux服务器
- Node -- 理解Buffer
- 常见C++面试题1
- 数据结构复习——队列解决报数问题
- 美团CODEM 数码
- 二维数组复制到另一个二维数组
- 迈向成功的关键在于执行(摘自李开复博士的《做最好的自己》)