incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yuki Morishita <mor.y...@gmail.com>
Subject Re: [Cas 2.0.2] Looping Repair since activating PasswordAuthenticator
Date Sun, 03 Nov 2013 02:27:08 GMT
Hi Dennis,

As you can see in the output,

> [2013-10-31 09:39:59,811] Starting repair command #1, repairing 1280 ranges for keyspace
system_auth

repair was trying to repair 1280 ranges.
I imagine you are using vnodes, and since Cassandra does repair range
by range in almost sequentially, it will take some time.
You can specify range to repair using '-st' and '-et' option.
For more info, see
http://www.datastax.com/documentation/cassandra/2.0/webhelp/index.html#cassandra/operations/ops_repair_nodes_c.html.

On Thu, Oct 31, 2013 at 3:42 AM, Dennis Schwan <dennis.schwan@1und1.de> wrote:
> Hi there,
>
> I have used this manual:
> http://www.datastax.com/documentation/cassandra/2.0/webhelp/index.html#cassandra/security/security_config_native_authenticate_t.html
> to use the PasswordAuthenticator but now everytime I run a nodetool repair
> it repairs the system_auth keyspace which needs about 10 to 15 minutes.
>
> nodetool repair
> [2013-10-31 09:39:59,623] Nothing to repair for keyspace 'system'
> [2013-10-31 09:39:59,811] Starting repair command #1, repairing 1280 ranges
> for keyspace system_auth
>
> This is what I get on every node every time i start a repair.
>
> Logfile:
>  INFO [AntiEntropyStage:1] 2013-10-31 09:40:55,632 Differencer.java (line
> 67) [repair #27b48380-4208-11e3-acc6-b1938d6360b5] Endpoints /10.30.9.60 and
> /10.30.9.61 are consistent for credentials
>  INFO [AntiEntropyStage:1] 2013-10-31 09:40:55,634 Differencer.java (line
> 67) [repair #27b48380-4208-11e3-acc6-b1938d6360b5] Endpoints /10.30.9.60 and
> /10.30.9.58 are consistent for credentials
>  INFO [AntiEntropyStage:1] 2013-10-31 09:40:55,638 Differencer.java (line
> 67) [repair #27b48380-4208-11e3-acc6-b1938d6360b5] Endpoints /10.30.9.60 and
> /10.30.9.59 are consistent for credentials
>  INFO [AntiEntropyStage:1] 2013-10-31 09:40:55,642 Differencer.java (line
> 67) [repair #27b48380-4208-11e3-acc6-b1938d6360b5] Endpoints /10.30.9.60 and
> /10.30.9.57 are consistent for credentials
>  INFO [AntiEntropyStage:1] 2013-10-31 09:40:55,643 Differencer.java (line
> 67) [repair #27b48380-4208-11e3-acc6-b1938d6360b5] Endpoints /10.30.9.61 and
> /10.30.9.58 are consistent for credentials
>  INFO [AntiEntropyStage:1] 2013-10-31 09:40:55,644 Differencer.java (line
> 67) [repair #27b48380-4208-11e3-acc6-b1938d6360b5] Endpoints /10.30.9.61 and
> /10.30.9.59 are consistent for credentials
>  INFO [AntiEntropyStage:1] 2013-10-31 09:40:55,644 Differencer.java (line
> 67) [repair #27b48380-4208-11e3-acc6-b1938d6360b5] Endpoints /10.30.9.61 and
> /10.30.9.57 are consistent for credentials
>  INFO [AntiEntropyStage:1] 2013-10-31 09:40:55,645 Differencer.java (line
> 67) [repair #27b48380-4208-11e3-acc6-b1938d6360b5] Endpoints /10.30.9.58 and
> /10.30.9.59 are consistent for credentials
>  INFO [AntiEntropyStage:1] 2013-10-31 09:40:55,646 Differencer.java (line
> 67) [repair #27b48380-4208-11e3-acc6-b1938d6360b5] Endpoints /10.30.9.58 and
> /10.30.9.57 are consistent for credentials
>  INFO [AntiEntropyStage:1] 2013-10-31 09:40:55,647 Differencer.java (line
> 67) [repair #27b48380-4208-11e3-acc6-b1938d6360b5] Endpoints /10.30.9.59 and
> /10.30.9.57 are consistent for credentials
>  INFO [AntiEntropyStage:1] 2013-10-31 09:40:55,648 RepairSession.java (line
> 214) [repair #27b48380-4208-11e3-acc6-b1938d6360b5] credentials is fully
> synced
>  INFO [AntiEntropyStage:1] 2013-10-31 09:40:55,942 RepairSession.java (line
> 157) [repair #27b48380-4208-11e3-acc6-b1938d6360b5] Received merkle tree for
> permissions from /10.30.9.60
>  INFO [AntiEntropyStage:1] 2013-10-31 09:40:56,047 RepairSession.java (line
> 157) [repair #27b48380-4208-11e3-acc6-b1938d6360b5] Received merkle tree for
> permissions from /10.30.9.61
>  INFO [AntiEntropyStage:1] 2013-10-31 09:40:56,129 RepairSession.java (line
> 157) [repair #27b48380-4208-11e3-acc6-b1938d6360b5] Received merkle tree for
> permissions from /10.30.9.58
>  INFO [AntiEntropyStage:1] 2013-10-31 09:40:56,190 RepairSession.java (line
> 157) [repair #27b48380-4208-11e3-acc6-b1938d6360b5] Received merkle tree for
> permissions from /10.30.9.59
>
> Is this expected behaviour? I have only added a new superuser and changed
> the password of the default superuser so there should not be too much to do
> at all.
>
> Thanks for your help!
> Dennis
>
> --
> Dennis Schwan
>
> Oracle DBA
> Mail Core
>
> 1&1 Internet AG | Brauerstraße 48 | 76135 Karlsruhe | Germany
> Phone: +49 721 91374-8738
> E-Mail: dennis.schwan@1und1.de | Web: www.1und1.de
>
> Hauptsitz Montabaur, Amtsgericht Montabaur, HRB 6484
>
> Vorstand: Ralph Dommermuth, Frank Einhellinger, Robert Hoffmann, Andreas
> Hofmann, Markus Huhn, Hans-Henning Kettler, Uwe Lamnek, Jan Oetjen,
> Christian Würst
> Aufsichtsratsvorsitzender: Michael Scheeren
>
> Member of United Internet
>
> Diese E-Mail kann vertrauliche und/oder gesetzlich geschützte Informationen
> enthalten. Wenn Sie nicht der bestimmungsgemäße Adressat sind oder diese
> E-Mail irrtümlich erhalten haben, unterrichten Sie bitte den Absender und
> vernichten Sie diese Email. Anderen als dem bestimmungsgemäßen Adressaten
> ist untersagt, diese E-Mail zu speichern, weiterzuleiten oder ihren Inhalt
> auf welche Weise auch immer zu verwenden.
>
> This E-Mail may contain confidential and/or privileged information. If you
> are not the intended recipient of this E-Mail, you are hereby notified that
> saving, distribution or use of the content of this E-Mail in any way is
> prohibited. If you have received this E-Mail in error, please notify the
> sender and delete the E-Mail.



-- 
Yuki Morishita
 t:yukim (http://twitter.com/yukim)

Mime
View raw message