From user-return-27807-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Wed Jul 25 07:43:34 2012 Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 336EDD398 for ; Wed, 25 Jul 2012 07:43:34 +0000 (UTC) Received: (qmail 64405 invoked by uid 500); 25 Jul 2012 07:43:31 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 64373 invoked by uid 500); 25 Jul 2012 07:43:31 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 64334 invoked by uid 99); 25 Jul 2012 07:43:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2012 07:43:29 +0000 X-ASF-Spam-Status: No, hits=4.5 required=5.0 tests=HTML_MESSAGE,HTTP_ESCAPED_HOST,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [98.130.1.164] (HELO mail508.opentransfer.com) (98.130.1.164) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2012 07:43:19 +0000 Received: (qmail 2512 invoked by uid 399); 25 Jul 2012 07:42:48 -0000 Received: from unknown (HELO ?172.16.100.162?) (pbs:mubashir.ahmad@panasiangroup.com@182.185.142.119) by mail508.opentransfer.com with ESMTPM; 25 Jul 2012 07:42:48 -0000 X-Originating-IP: 182.185.142.119 Message-ID: <500FA373.7040808@panasiangroup.com> Date: Wed, 25 Jul 2012 12:42:43 +0500 From: Adeel Akbar User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Cassandra issue Content-Type: multipart/alternative; boundary="------------030800050805080404050803" This is a multi-part message in MIME format. --------------030800050805080404050803 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I have created new ring with 2 nodes and set RF 2. I am facing following issue; ERROR 12:41:09,733 Internal error processing get_count java.lang.IllegalStateException: datacenter (datacenter1) has no more endpoints, (1) replicas still needed at org.apache.cassandra.locator.NetworkTopologyStrategy.calculateNaturalEndpoints(NetworkTopologyStrategy.java:124) at org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalEndpoints(AbstractReplicationStrategy.java:100) at org.apache.cassandra.service.StorageService.getLiveNaturalEndpoints(StorageService.java:1642) at org.apache.cassandra.service.StorageService.getLiveNaturalEndpoints(StorageService.java:1636) at org.apache.cassandra.service.StorageProxy.fetchRows(StorageProxy.java:511) at org.apache.cassandra.service.StorageProxy.read(StorageProxy.java:480) at org.apache.cassandra.thrift.CassandraServer.readColumnFamily(CassandraServer.java:109) at org.apache.cassandra.thrift.CassandraServer.getSlice(CassandraServer.java:263) at org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal(CassandraServer.java:345) at org.apache.cassandra.thrift.CassandraServer.get_slice(CassandraServer.java:306) at org.apache.cassandra.thrift.CassandraServer.get_count(CassandraServer.java:391) at org.apache.cassandra.thrift.Cassandra$Processor$get_count.process(Cassandra.java:3075) at org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:2889) at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:187) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) -- Thanks & Regards *Adeel**Akbar* --------------030800050805080404050803 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, I have created new ring with 2 nodes and set RF 2. I am facing following issue;

ERROR 12:41:09,733 Internal error processing get_count
java.lang.IllegalStateException: datacenter (datacenter1) has no more endpoints, (1) replicas still needed
        at org.apache.cassandra.locator.NetworkTopologyStrategy.calculateNaturalEndpoints(NetworkTopologyStrategy.java:124)
        at org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalEndpoints(AbstractReplicationStrategy.java:100)
        at org.apache.cassandra.service.StorageService.getLiveNaturalEndpoints(StorageService.java:1642)
        at org.apache.cassandra.service.StorageService.getLiveNaturalEndpoints(StorageService.java:1636)
        at org.apache.cassandra.service.StorageProxy.fetchRows(StorageProxy.java:511)
        at org.apache.cassandra.service.StorageProxy.read(StorageProxy.java:480)
        at org.apache.cassandra.thrift.CassandraServer.readColumnFamily(CassandraServer.java:109)
        at org.apache.cassandra.thrift.CassandraServer.getSlice(CassandraServer.java:263)
        at org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal(CassandraServer.java:345)
        at org.apache.cassandra.thrift.CassandraServer.get_slice(CassandraServer.java:306)
        at org.apache.cassandra.thrift.CassandraServer.get_count(CassandraServer.java:391)
        at org.apache.cassandra.thrift.Cassandra$Processor$get_count.process(Cassandra.java:3075)
        at org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:2889)
        at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:187)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)

--


Thanks & Regards

Adeel Akbar

--------------030800050805080404050803--