You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by mm...@apache.org on 2021/08/31 14:53:20 UTC

[accumulo-examples] branch main updated: Update docs/rgbalancer.md

This is an automated email from the ASF dual-hosted git repository.

mmiller pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new d1cc653  Update docs/rgbalancer.md
d1cc653 is described below

commit d1cc653e97dc2186f261c6e27ff5c1c8af7fc9d5
Author: Mike Miller <mm...@apache.org>
AuthorDate: Tue Aug 31 10:47:53 2021 -0400

    Update docs/rgbalancer.md
---
 docs/rgbalancer.md | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/docs/rgbalancer.md b/docs/rgbalancer.md
index 57d87eb..19bb404 100644
--- a/docs/rgbalancer.md
+++ b/docs/rgbalancer.md
@@ -28,6 +28,9 @@ different tservers.  This gives us four groups of tablets: 01, 02, 03, and 04.
     root@accumulo> createnamespace examples
     root@accumulo> createtable examples.testRGB
     root@accumulo examples.testRGB> addsplits -t examples.testRGB 01b 01m 01r 01z 02b 02m 02r 02z 03b 03m 03r 03z 04a 04b 04c 04d 04e 04f 04g 04h 04i 04j 04k 04l 04m 04n 04o 04p
+
+Run the tables command with the "-l" option to find the table ID.
+
     root@accumulo examples.testRGB> tables -l
     accumulo.metadata    =>        !0
     accumulo.replication =>      +rep
@@ -35,7 +38,7 @@ different tservers.  This gives us four groups of tablets: 01, 02, 03, and 04.
     testRGB              =>         2
     trace                =>         1
 
-After adding the splits we look at the locations in the metadata table.
+Using the table ID for part of the begin and end row scan options, look at the locations in the metadata table.
 
     root@accumulo examples.testRGB> scan -t accumulo.metadata -b 2; -e 2< -c loc
     2;01b loc:34a5f6e086b000c []    ip-10-1-2-25:9997
@@ -98,7 +101,7 @@ default tablet are configured to be in group 04.
 
     root@accumulo examples.testRGB> config -t examples.testRGB -s table.custom.balancer.group.regex.pattern=(\d\d).*
     root@accumulo examples.testRGB> config -t examples.testRGB -s table.custom.balancer.group.regex.default=04
-    root@accumulo examples.testRGB> config -t examples.testRGB -s table.balancer=org.apache.accumulo.server.master.balancer.RegexGroupBalancer
+    root@accumulo examples.testRGB> config -t examples.testRGB -s table.balancer=org.apache.accumulo.core.spi.balancer.RegexGroupBalancer
 
 After waiting a bit, look at the tablet locations again and all is good.