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>
参数解释: