You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@accumulo.apache.org by Boris Pelakh <bp...@modusoperandi.com> on 2013/12/03 16:34:17 UTC

Remove tablet server from running instance

We are about to shrink our test cluster from 8 nodes to 5, so I am looking
for a way to tell Accumulo to remove the 3 nodes from the tablet server list
and rehost all tablets hosted on those servers to the remaining 5 servers.
Cannot seem to find anything in the documentation, would appreciate a
pointer.



--
View this message in context: http://apache-accumulo.1065345.n5.nabble.com/Remove-tablet-server-from-running-instance-tp6622.html
Sent from the Users mailing list archive at Nabble.com.

Re: Remove tablet server from running instance

Posted by John Vines <vi...@apache.org>.
You can also do $ACCUMULO_HOME/bin/accumulo admin stop <hosts> {<host> ...}
to trigger a graceful shutdown of tservers on those nodes.


On Tue, Dec 3, 2013 at 10:47 AM, Josh Elser <jo...@gmail.com> wrote:

> The "graceful" way to do this is to ssh to each of the hosts you want to
> remove and run $ACCUMULO_HOME/bin/stop-here.sh
>
> Be sure to update your $ACCUMULO_HOME/conf/slaves (or
> $ACCUMULO_CONF_DIR/slaves) file to account for the removal of these hosts.
>
> Accumulo will automatically rebalance the tablets across the available
> tabletservers (it's doing this constantly during normal operations).
>
>
> On 12/3/13, 10:34 AM, Boris Pelakh wrote:
>
>> We are about to shrink our test cluster from 8 nodes to 5, so I am looking
>> for a way to tell Accumulo to remove the 3 nodes from the tablet server
>> list
>> and rehost all tablets hosted on those servers to the remaining 5 servers.
>> Cannot seem to find anything in the documentation, would appreciate a
>> pointer.
>>
>>
>>
>> --
>> View this message in context: http://apache-accumulo.
>> 1065345.n5.nabble.com/Remove-tablet-server-from-running-
>> instance-tp6622.html
>> Sent from the Users mailing list archive at Nabble.com.
>>
>>

Re: Remove tablet server from running instance

Posted by Christopher <ct...@apache.org>.
The monitor probably won't re-read the slaves file, so it may report
these are offline, when you really don't want it to.

--
Christopher L Tubbs II
http://gravatar.com/ctubbsii


On Tue, Dec 3, 2013 at 10:47 AM, Josh Elser <jo...@gmail.com> wrote:
> The "graceful" way to do this is to ssh to each of the hosts you want to
> remove and run $ACCUMULO_HOME/bin/stop-here.sh
>
> Be sure to update your $ACCUMULO_HOME/conf/slaves (or
> $ACCUMULO_CONF_DIR/slaves) file to account for the removal of these hosts.
>
> Accumulo will automatically rebalance the tablets across the available
> tabletservers (it's doing this constantly during normal operations).
>
>
> On 12/3/13, 10:34 AM, Boris Pelakh wrote:
>>
>> We are about to shrink our test cluster from 8 nodes to 5, so I am looking
>> for a way to tell Accumulo to remove the 3 nodes from the tablet server
>> list
>> and rehost all tablets hosted on those servers to the remaining 5 servers.
>> Cannot seem to find anything in the documentation, would appreciate a
>> pointer.
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-accumulo.1065345.n5.nabble.com/Remove-tablet-server-from-running-instance-tp6622.html
>> Sent from the Users mailing list archive at Nabble.com.
>>
>

Re: Remove tablet server from running instance

Posted by Josh Elser <jo...@gmail.com>.
The "graceful" way to do this is to ssh to each of the hosts you want to 
remove and run $ACCUMULO_HOME/bin/stop-here.sh

Be sure to update your $ACCUMULO_HOME/conf/slaves (or 
$ACCUMULO_CONF_DIR/slaves) file to account for the removal of these hosts.

Accumulo will automatically rebalance the tablets across the available 
tabletservers (it's doing this constantly during normal operations).

On 12/3/13, 10:34 AM, Boris Pelakh wrote:
> We are about to shrink our test cluster from 8 nodes to 5, so I am looking
> for a way to tell Accumulo to remove the 3 nodes from the tablet server list
> and rehost all tablets hosted on those servers to the remaining 5 servers.
> Cannot seem to find anything in the documentation, would appreciate a
> pointer.
>
>
>
> --
> View this message in context: http://apache-accumulo.1065345.n5.nabble.com/Remove-tablet-server-from-running-instance-tp6622.html
> Sent from the Users mailing list archive at Nabble.com.
>