accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ivan bella <i...@ivan.bella.name>
Subject Re: use a single byte for split points
Date Mon, 14 Nov 2016 12:41:31 GMT
<!DOCTYPE html>
<html><head>
    <meta charset="UTF-8">
</head><body><p>Just guessing here, but if your keys are uniformly distributed
between 0 and NTS-1, then perhaps none of your keys are actually going into (-inf,0]. &#160;The
first byte of the key may be 0 but if you have anything else in the key then it would fall
into (0, 1].</p><blockquote type="cite">On November 14, 2016 at 6:14 AM Massimilian
Mattetti &#60;MASSIMIL@il.ibm.com&#62; wrote:<br><br><span style="color:
#2f2f2f; font-family: Arial; font-size: small;">Hi all,</span><br><br><span
style="color: #2f2f2f; font-family: Arial; font-size: small;">I want to pre-split a table
using the first byte of the key which is uniformly distributed between 0 to the number of
tablet servers (NTS) - 1. I defined the split points as [0, 1, 2, ..., NTS - 2], in this way
the split ranges should be distributed on the tablet servers as follows: &#160;</span><br><br><span
style="color: #2f2f2f; font-family: Arial; font-size: small;">(-inf ,0]&#160;- Server
1&#160;</span><br><span style="color: #2f2f2f; font-family: Arial; font-size:
small;">(0, 1]&#160;- Server 2</span><br><span style="color: #2f2f2f;
font-family: Arial; font-size: small;">(1, 2]&#160;- Server 3</span><br><span
style="color: #2f2f2f; font-family: Arial; font-size: small;">...</span><br><span
style="color: #2f2f2f; font-family: Arial; font-size: small;">(NTS - 2, +inf)&#160;-
Server NTS</span><br><br><span style="color: #2f2f2f; font-family: Arial;
font-size: small;">Unfortunately it is not working as expected since there is always a
tablet server that has ingestion rate equal to 0. Am I missing something?</span><br><br><span
style="color: #2f2f2f; font-family: Arial; font-size: small;">Thanks,</span><br><span
style="color: #2f2f2f; font-family: Arial; font-size: small;">Max</span><br></blockquote></body></html>
 

Mime
View raw message