phoenix error: Unable to find cached index metadata

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u012551524/article/details/86084256

phoenix版本:

phoenix-4.13.2-cdh5.11.2

参考:

https://phoenix.apache.org/tuning.html


大批量upsert插入phoenix时报错:

java.sql.SQLException: ERROR 2008 (INT10): Unable to find cached index metadata. ERROR 2008 (INT10): ERROR 2008 (INT10): Unable to find cached index metadata

解决:

在hbase RegionServer的hbase-site.xml添加如下配置

<property>

<name>phoenix.coprocessor.maxServerCacheTimeToLiveMs</name>

<value>3000000</value>

</property>

参数解释:

猜你喜欢

转载自blog.csdn.net/u012551524/article/details/86084256
今日推荐