HBASE-11909 Documented how to find the current number of
regions and why the numbers in the UI might not agree with hbck output
This commit is contained in:
parent
f2898985ad
commit
aee7379b7e
|
@ -1578,6 +1578,17 @@ hbase> restore_snapshot 'myTableSnapshot-122112'
|
||||||
xrefstyle="template:above" /> should be.</emphasis> So, if your data is compressed and
|
xrefstyle="template:above" /> should be.</emphasis> So, if your data is compressed and
|
||||||
replicated 3 ways by HDFS, "9 Gb region" means 9 Gb of compressed data. HDFS replication
|
replicated 3 ways by HDFS, "9 Gb region" means 9 Gb of compressed data. HDFS replication
|
||||||
factor only affects your disk usage and is invisible to most HBase code.</para>
|
factor only affects your disk usage and is invisible to most HBase code.</para>
|
||||||
|
<section>
|
||||||
|
<title>Viewing the Current Number of Regions</title>
|
||||||
|
<para>You can view the current number of regions for a given table using the HMaster UI. In
|
||||||
|
the <guilabel>Tables</guilabel> section, the number of online regions for each table is
|
||||||
|
listed in the <guilabel>Online Regions</guilabel> column. This total only includes the
|
||||||
|
in-memory state and does not include disabled or offline regions. If you do not want to
|
||||||
|
use the HMaster UI, you can determine the number of regions by counting the number of
|
||||||
|
subdirectories of the /hbase/<table>/ subdirectories in HDFS, or by running the
|
||||||
|
<command>bin/hbase hbck</command> command. Each of these methods may return a slightly
|
||||||
|
different number, depending on the status of each region.</para>
|
||||||
|
</section>
|
||||||
<section
|
<section
|
||||||
xml:id="ops.capacity.regions.count">
|
xml:id="ops.capacity.regions.count">
|
||||||
<title>Number of regions per RS - upper bound</title>
|
<title>Number of regions per RS - upper bound</title>
|
||||||
|
|
Loading…
Reference in New Issue