Skip to content
Permalink
Browse files
Update rgbalancer.md
Updated the regex pattern. With version 2.1 the double backslashes for the regex through a BadArgumentexception. Assume it is related to change from using Jline ConsoleReader to using LineReader.
  • Loading branch information
jmark99 committed Mar 8, 2021
1 parent c2fafb8 commit 03dd655075b1db7bf3423ba0954f3e5f5445fa25
Showing 1 changed file with 1 addition and 1 deletion.
@@ -95,7 +95,7 @@ commands below. The configured regular expression selects the first two digits
from a tablets end row as the group id. Tablets that don't match and the
default tablet are configured to be in group 04.

root@accumulo testRGB> config -t testRGB -s table.custom.balancer.group.regex.pattern=(\\d\\d).*
root@accumulo testRGB> config -t testRGB -s table.custom.balancer.group.regex.pattern=(\d\d).*
root@accumulo testRGB> config -t testRGB -s table.custom.balancer.group.regex.default=04
root@accumulo testRGB> config -t testRGB -s table.balancer=org.apache.accumulo.server.master.balancer.RegexGroupBalancer

0 comments on commit 03dd655

Please sign in to comment.