Apache Hbase最新官网指南中文翻译 详细配置调优篇
org.apache.hadoop.hbase.master.cleaner.TimeToLiveLogCleaner
hbase.master.logcleaner.ttl
Description
WAL日志文件在oldlogdir目录中的最长保存时间。到时间点后Master线程将清理掉这个文件
Default
600000(毫秒)
hbase.master.hfilecleaner.plugins
Description
HFileCleaner调用的以逗号分隔的BaseHFileCleanerDelegate实现。这些HFiles的clearners将被顺序调用,所以你应该将清除大部分文件的类配置到前面。部署你自己的BaseHFileCleanerDelegate,仅仅需要将你自己实现的类放到HBase的classpath目录中并在这里配置类全名(包括包路径哦)。通常情况下我们保留之前在hbase-site.xml的cleaner配置。
Default
org.apache.hadoop.hbase.master.cleaner.TimeToLiveHFileCleaner
hbase.master.catalog.timeout
Description
Timeout value for the Catalog Janitor from the master to META. Catalog Janitor从master到META的超时时间。
Default
600000
31
Apache Hbase最新官网指南中文翻译 详细配置调优篇
hbase.master.infoserver.redirect
Description
Whether or not the Master listens to the Master web UI port
(hbase.master.info.port) and redirects requests to the web UI server shared by the Master and RegionServer.
此参数标志Master是否监听Master web UI端口并将请求转发给web UI的服务器,这个参数是Master和RegionServer共享的。
Default
true
hbase.regionserver.port
Description
HBase RegionServer 绑定的服务端口。
Default
16020
hbase.regionserver.info.port
Description
HBase RegionServer web UI服务绑定的端口,如果设置为-1将不启动web服务。
The port for the HBase RegionServer web UI Set to -1 if you do not want the RegionServer UI to run.
Default
16030
hbase.regionserver.info.bindAddress
Description
HBase RegionServer web UI绑定的服务地址。
The address for the HBase RegionServer web UI
32
Apache Hbase最新官网指南中文翻译 详细配置调优篇
Default
0.0.0.0
hbase.regionserver.info.port.auto
Description
此参数用于当Master或RegionServer UI服务端口被占用时是否自动查找可用
端口并进行绑定。主要用于测试,默认情况下这个参数是关闭的(false)。
Whether or not the Master or RegionServer UI should search for a port to bind to. Enables automatic port search if hbase.regionserver.info.port is already in use. Useful for testing, turned off by default.
Default
false
hbase.regionserver.handler.count
Description
RegionServers受理的RPC监听实例数量。对于Master来说,这个属性是Master受理的handler数量
Count of RPC Listener instances spun up on RegionServers. Same property is used by the Master for count of master handlers. Default
30
hbase.ipc.server.callqueue.handler.factor
Description
调用队列长度的决定性因素。如果本参数值为零则表明所有的处理程序将共享一个队列。如果为1则表示每个处理程序都有自己的处理队列。
33
Apache Hbase最新官网指南中文翻译 详细配置调优篇
Factor to determine the number of call queues. A value of 0 means a single queue shared between all the handlers. A value of 1 means that each handler has its own queue.
Default
0.1
hbase.ipc.server.callqueue.read.ratio
Description
此参数将调用队列分为读队列和写队列。指定的值(应该在0-1之间)将乘以调用队列数。如果为零则表示不区分队列,读写请求都将被推送到相同队列。如果参数小于0.5时读队列小于写队列,大于0.5时读队列大于写队列。如果值为1则表示只有一个队列处理写请求,其他队列都处理读请求。
比如:如果总的队列数为10,如果此参数为0则表示:这10个队列同时处理读写请求;如果为0.3则表示有3个队列只处理读请求,7个只处理写请求;如果为0.5则表示有5个队列只处理读请求,5个只处理写请求;如果为0.8则表示8个队列只处理读请求,2个只处理写请求;如果为1则表示只有一个处理写请求,其他都处理读请求。
Split the call queues into read and write queues. The specified interval (which should be between 0.0 and 1.0) will be multiplied by the number of call queues. A value of 0 indicate to not split the call queues, meaning that both read and write requests will be pushed to the same set of queues. A value lower than 0.5 means that there will be less read queues than write queues. A value of 0.5 means there will be the same number of read and write queues. A value greater than 0.5 means that there will be more read queues than write queues. A value of 1.0 means that all the queues except one are used to dispatch read requests. Example: Given the total number of call queues being 10 a read.ratio of 0 means that: the 10 queues will contain both read/write requests. a read.ratio of 0.3 means that: 3 queues will contain only read requests and 7 queues will contain only write requests. a read.ratio of 0.5 means that: 5 queues will contain only read requests and 5 queues will contain only write requests. a read.ratio of 0.8 means that: 8 queues will contain only read requests and 2 queues will contain
34
Apache Hbase最新官网指南中文翻译 详细配置调优篇
only write requests. a read.ratio of 1 means that: 9 queues will contain only read requests and 1 queues will contain only write requests.
Default 0
hbase.ipc.server.callqueue.scan.ratio
Description
本参数是在读写比例参数基础之上,对于读队列数进行small-read和long-read进行队列的分配。当参数值小于0.5时long-read的队列数小于small-read的队列数。当参数值为0或者1时表示应用相同队列进行查询和扫描。
比如:假设有8个读队列,而当本参数配置为0或者1时意味着这8个队列同时处理small-read和long-rend请求;如果这个参数配置为0.3将意味着2个队列处理long-read,6个处理small-read;如果这个参数配置为0.5则意味着处理long-read和small-read的队列数各为4个;如果配置为0.8则意味着6个队列处理long-read,2个处理small-read。
Given the number of read call queues, calculated from the total number of call queues multiplied by the callqueue.read.ratio, the scan.ratio property will split the read call queues into small-read and long-read queues. A value lower than 0.5 means that there will be less long-read queues than short-read queues. A value of 0.5 means that there will be the same number of short-read and long-read queues. A value greater than 0.5 means that there will be more long-read queues than short-read queues A value of 0 or 1 indicate to use the same set of queues for gets and scans. Example: Given the total number of read call queues being 8 a scan.ratio of 0 or 1 means that: 8 queues will contain both long and short read requests. a scan.ratio of 0.3 means that: 2 queues will contain only long-read requests and 6 queues will contain only short-read requests. a scan.ratio of 0.5 means that: 4 queues will contain only long-read requests and 4 queues will contain only short-read requests. a scan.ratio of 0.8 means that: 6 queues will contain only long-read requests and 2 queues will contain only short-read requests.
Default
0
35
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库HBase官方指南(2015最新版本)-配置详解篇-for-baidu(7)在线全文阅读。
相关推荐: