The following configuration parameters are modified or added in the hbase-site.conf file under the bin directory in phoneix
1. Configuration related to server cache
Attributes |
describe |
avatica.connectioncache.concurrency |
Connection cache concurrency level. The default is 10. |
avatica.connectioncache.initialcapacity |
The initial capacity of the connection cache. The default is 100. |
avatica.connectioncache.maxcapacity |
The maximum size of the connection cache. As this point is approached, the cache will start evicting the least recently used connection objects. The default is 1000. |
avatica.connectioncache.expiryduration |
Connection cache expiration time. Any connections exceeding this value will be dropped. The default is 10 minutes. |
avatica.connectioncache.expiryunit |
Connection cache expiration unit. A unit modifier applied to the value provided in avatica.connectioncache.expiryunit. The default is minutes. |
2. Configuration related to server statement cache
Attributes |
describe |
avatica.statementcache.concurrency |
Statement cache concurrency level. Default is 100 |
avatica.statementcache.initialcapacity |
Statement cache initial capacity. The default is 1000. |
avatica.statementcache.maxcapacity |
Statement cache maximum capacity. As this point is approached, the cache will start evicting the least recently used statement objects. The default is 10000. |
avatica.statementcache.expiryduration |
Statement cache expiration time. Any statements exceeding this value will be discarded. Default is 5 minutes |
avatica.statementcache.expiryunit |
Statement cache expiration unit. A unit modifier applied to the value provided in avatica.statementcache.expiryunit. The default is minutes. |