Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D7410200CC2 for ; Wed, 5 Jul 2017 08:41:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D64B016279C; Wed, 5 Jul 2017 06:41:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 27EF116279B for ; Wed, 5 Jul 2017 08:41:09 +0200 (CEST) Received: (qmail 54403 invoked by uid 500); 5 Jul 2017 06:41:07 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 54392 invoked by uid 99); 5 Jul 2017 06:41:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2017 06:41:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 377431AFD7D for ; Wed, 5 Jul 2017 06:41:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id x-THnSYum9mQ for ; Wed, 5 Jul 2017 06:41:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 3BAC25FC93 for ; Wed, 5 Jul 2017 06:41:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 2A3E9E0D55 for ; Wed, 5 Jul 2017 06:41:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 5A4AA24621 for ; Wed, 5 Jul 2017 06:41:01 +0000 (UTC) Date: Wed, 5 Jul 2017 06:41:01 +0000 (UTC) From: "ZhaoYang (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CASSANDRA-11942) Cannot process role related query just after restart MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 05 Jul 2017 06:41:10 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-11942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ZhaoYang resolved CASSANDRA-11942. ---------------------------------- Resolution: Not A Problem As Sam explained, the delay is expected to wait for cluster sync. though a smaller default looks better. > Cannot process role related query just after restart > ---------------------------------------------------- > > Key: CASSANDRA-11942 > URL: https://issues.apache.org/jira/browse/CASSANDRA-11942 > Project: Cassandra > Issue Type: Bug > Environment: Ubuntu 14.04.4 > Cassandra 3.0.6 (single node) > Python (2.7) connector with Native protocol v3 > Reporter: Petr Malik > > I get the following error from Python client when executing ALTER USER 'foo' WITH PASSWORD %s; just after service restart. > It works if I wait for some 5s before executing the statement. > From system.log: > 2016-06-01 22:07:01.458 InvalidRequest: Error from server: code=2200 [Invalid query] message="Cannot process role related query as the role manager isn't yet setup. This is > likely because some of nodes in the cluster are on version 2.1 or earlier. You need to upgrade all nodes to Cassandra 2.2 or more to use roles." > INFO [main] 2016-06-01 22:06:51,637 Server.java:162 - Starting listening for CQL clients on /127.0.0.1:9042 (unencrypted)... > WARN [main] 2016-06-01 22:06:54,646 Slf4JLogger.java:136 - Failed to generate a seed from SecureRandom within 3 seconds. Not enough entrophy? > INFO [main] 2016-06-01 22:06:54,680 CassandraDaemon.java:471 - Not starting RPC server as requested. Use JMX (StorageService->startRPCServer()) or nodetool (enablethrift) to start it -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org For additional commands, e-mail: commits-help@cassandra.apache.org