On Wed, Apr 21, 2010 at 1:48 PM, Anthony Molinaro
wrote:
> So why is Token - 1 better? Doesn't that result in more data movement
> than PreviousTokenInRing + 1?
No, because a node is responsible for (previous token, own token]. So
if you introduce token T-1 before token T then the only keys the
On Wed, Apr 21, 2010 at 12:05:07PM -0500, Jonathan Ellis wrote:
> On Wed, Apr 21, 2010 at 11:31 AM, Anthony Molinaro
> wrote:
> >
> > On Wed, Apr 21, 2010 at 11:08:19AM -0500, Jonathan Ellis wrote:
> >> Yes, that looks right, where "token really close" means "slightly less
> >> than" (more than w
On Wed, Apr 21, 2010 at 11:31 AM, Anthony Molinaro
wrote:
>
> On Wed, Apr 21, 2010 at 11:08:19AM -0500, Jonathan Ellis wrote:
>> Yes, that looks right, where "token really close" means "slightly less
>> than" (more than would move it into a different node's range).
>
> Is it better to go slightly
On Wed, Apr 21, 2010 at 11:08:19AM -0500, Jonathan Ellis wrote:
> Yes, that looks right, where "token really close" means "slightly less
> than" (more than would move it into a different node's range).
Is it better to go slightly less than (say Token - 1), or slightly more than
the beginning of t
Yes, that looks right, where "token really close" means "slightly less
than" (more than would move it into a different node's range).
You can't really migrate via scp since only one node with a given
token can exist in the cluster at a time.
-Jonathan
On Wed, Apr 21, 2010 at 11:02 AM, Anthony Mo
Hi,
I'm still curious if I got the data movement right in this email from
before? Anyone? Also, anyone know if I can scp the data directory from
a node I want to replace to a new machine? The cassandra streaming seems
much slower than scp.
-Anthony
On Mon, Apr 19, 2010 at 04:48:23PM -0700,
You can have a look at org.apache.cassandra.service.StorageService
public void initServer() throws IOException
1. If AutoBootstrap=false, it means the the node is bootstaped (not a new
node)
Usually, the first new node is set false.
(1) check the system table to find the saved token, if found
On Mon, Apr 19, 2010 at 03:28:26PM -0500, Jonathan Ellis wrote:
> > Can I then 'nodeprobe move ', and
> > achieve the same as step 2 above?
>
> You can't have two nodes with the same token in the ring at once. So,
> you can removetoken the old node first, then bootstrap the new one
> (just speci
On Thu, Apr 15, 2010 at 6:10 PM, Anthony Molinaro
wrote:
> 1) shutdown cassandra on instance I want to replace
> 2) create a new instance, start cassandra with AutoBootstrap = true
> 3) run nodeprobe removetoken against the token of the instance I am
> replacing
>
> Then according to the 'Handli
On Fri, Apr 16, 2010 at 1:10 AM, Anthony Molinaro
wrote:
> Hi,
>
> I have a cluster running on ec2, and would like to do some ring
> management. Specifically, I'd like to replace an existing node
> without another node (I want to change the instance type).
does maybe `nodetool move` do what yo
Hi,
I have a cluster running on ec2, and would like to do some ring
management. Specifically, I'd like to replace an existing node
without another node (I want to change the instance type).
I was looking over http://wiki.apache.org/cassandra/Operations
and it seems like I could do something
11 matches
Mail list logo