Skip to content

Commit 7a8d619

Browse files
authored
Update README.md
1 parent b55bfa1 commit 7a8d619

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# hadoop-scripts
22

3+
## lr.rb
4+
5+
This Ruby script is aimed to be used in hbase shell. Just write that file in your current working directory and execute it with
6+
`hbase shell lr.rb`
7+
8+
You'll then have a new *list_regions(table)* function which give you SERVERNAME, REGIONNAME, STARTKEY, ENDKEY, SIZE(MB), OCCUPANCY(%), REQUESTS
9+
The occupancy is computed over the specific region size of the table or the default parameter.
10+
11+
312
## hbase_region_repartition.sh
413

514
This script was defined to merge tiny regions in HBase : when dealing with a high throughput writing environment, regions can easily multiply even if you sized regions accordingly.

0 commit comments

Comments
 (0)