[ 
https://issues.apache.org/jira/browse/HBASE-24137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17083699#comment-17083699
 ] 

Nick Dimiduk commented on HBASE-24137:
--------------------------------------

It is already configurable. Try it out for yourself by editing hbase-site.xml 

By default:

{noformat}
$ cat conf/hbase-site.xml 
<?xml version="1.0"?>
<configuration>
</configuration>
$ bin/hbase org.apache.hadoop.hbase.util.HBaseConfTool 
hbase.master.metafixer.max.merge.count
null
{noformat}

Here,  "null" means the default will be read from code, as you can see, a value 
of 10.

Now edit the config file, override the value.

{noformat}
$ cat conf/hbase-site.xml 
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
  
<property><name>hbase.master.metafixer.max.merge.count</name><value>100</value></property>
</configuration>
$ bin/hbase org.apache.hadoop.hbase.util.HBaseConfTool 
hbase.master.metafixer.max.merge.count
100
{noformat}

To [~stack]'s point in the PR, we could do a better job advertising this 
configuration point in the book or hbase-default.xml or the like.

> The max merge count of metafixer should be configurable in MetaFixer
> --------------------------------------------------------------------
>
>                 Key: HBASE-24137
>                 URL: https://issues.apache.org/jira/browse/HBASE-24137
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 3.0.0
>            Reporter: Yu Wang
>            Priority: Minor
>             Fix For: 3.0.0
>
>         Attachments: 24137_master_1.patch
>
>
> The max merge count of metafixer should be configurable in MetaFixer



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to