Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 94BE5192A9 for ; Thu, 14 Apr 2016 22:55:10 +0000 (UTC) Received: (qmail 78880 invoked by uid 500); 14 Apr 2016 22:55:07 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 78812 invoked by uid 500); 14 Apr 2016 22:55:07 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 78800 invoked by uid 99); 14 Apr 2016 22:55:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2016 22:55:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 0F15BC3AEE for ; Thu, 14 Apr 2016 22:55:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.199 X-Spam-Level: **** X-Spam-Status: No, score=4.199 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_TIME=3, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id vg8kvTWjCjX7 for ; Thu, 14 Apr 2016 22:55:05 +0000 (UTC) Received: from mail-ob0-f175.google.com (mail-ob0-f175.google.com [209.85.214.175]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 580365F236 for ; Thu, 14 Apr 2016 22:55:04 +0000 (UTC) Received: by mail-ob0-f175.google.com with SMTP id k9so56395952obk.2 for ; Thu, 14 Apr 2016 15:55:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=P5o8rTd65OIxg5RxYtEJOsCBjxhaAkNroNfZl3O4qJc=; b=YzbgF/lnIWYaTMkMBFLG8p05/Ro7G2nB0DhUFgnuPbY01lUdh9wsuvqPbMj9USIHWU 4NkQpZwlNQnJqojkDvhhzz2jFHGjiaVkcuekOSZr7IC9E/F8tghfLxOw+Wd6RO1YH2Bq ItX6WAckobSRvqqHR+bbBm0wfOkW3ZZfLa+E6Zoq+r6o/znM33tDhws3Roj9mj+7pxOk cdFvRfLz4H2oToHsuvSR/q3Ttrs++sg5Gq2XOh3L/xM7NikSpFg4Hg21Kk0IK0lfL4nY FcWRGs8tgjHbkVw2Lmp0OlHLFCS0MRuzjKsc2j9ZFVuD2cYr2wB/I2l7BgkCmEo9ESeK /1LA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=P5o8rTd65OIxg5RxYtEJOsCBjxhaAkNroNfZl3O4qJc=; b=C5LOICMxuKDBWXY2b5j4A/VWMBLttfizYw8P+JCN7VmNKkhgg7SZhD1gDHWC7uc56q mgHCqVSoUsJRf80Xo1T7H0JKt6fucEyAnhPcnxjZ0PpJTB4Lwo7/nT5q8F6hbX2hpa1d i7QagnVqwOH4tkbCoGkKeeba29r6LfXIQ9v+cH5BD6w/RgD2eV5EpEG4sjnJE5h4bvJ7 QkV8owWeSXEbJf+W9b+9J8LO417xLve/bWNPPzGNlZ1YtUSvu7fhWCpNflCgMliWHKhB qkUmMJ2iDvcQYH3toQydlgFc5rZQ8eOIE+gMFd7AJZAp5BKirqZbtGo42tCdJCAcr0vz 5YGw== X-Gm-Message-State: AOPr4FW42WZTMqzhice0s7HH9y0c7JK3D3Q48oCprAFmdfxz4OfLi2nJ+4x4ZE/1Bx6uSS34CdZf/Bw1+Lie6g== MIME-Version: 1.0 X-Received: by 10.60.85.3 with SMTP id d3mr9614039oez.69.1460674503236; Thu, 14 Apr 2016 15:55:03 -0700 (PDT) Received: by 10.182.53.98 with HTTP; Thu, 14 Apr 2016 15:55:03 -0700 (PDT) In-Reply-To: References: Date: Thu, 14 Apr 2016 15:55:03 -0700 Message-ID: Subject: Re: Adding replica on solr - 5.50 From: Jay Potharaju To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=089e0111b93ae5f3b7053079c84a --089e0111b93ae5f3b7053079c84a Content-Type: text/plain; charset=UTF-8 Curious what command did you use? On Thu, Apr 14, 2016 at 3:48 PM, John Bickerstaff wrote: > I had a hard time getting replicas made via the API, once I had created the > collection for the first time.... although that may have been ignorance on > my part. > > I was able to get it done fairly easily on the Linux command line. If > that's an option and you're interested, let me know - I have a rough but > accurate document. But perhaps others on the list will have the specific > answer you're looking for. > > On Thu, Apr 14, 2016 at 4:19 PM, Jay Potharaju > wrote: > > > Hi, > > I am using solr 5.5 and testing adding a new replica when a solr instance > > comes up. When I run the following command I get an error. I have 1 > replica > > and trying to add another replica. > > > > > > > http://x.x.x.x:8984/solr/admin/collections?action=ADDREPLICA&collection=test2&shard=shard1&node=x.x.x.x:9001_solr > > > > Error: > > > org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: > > > At least one of the node(s) specified are not currently active, no > action > > > taken. > > > > > > At least one of the node(s) specified are not currently > > > active, no action taken. > > > 400 > > > > > > > > > > > > org.apache.solr.common.SolrException > > > org.apache.solr.common.SolrException > > > > > > At least one of the node(s) specified are not currently > > > active, no action taken. > > > 400 > > > > > > > > > > > > But when i create a new collection with 2 replicas it works fine. > > As a side note my clusterstate.json is not updating correctly. Not sure > if > > that is causing an issue. > > > > Any suggestions why the Addreplica command is not working. And is it > > related to the clusterstate.json? If yes, how can i fix it? > > > > -- > > Thanks > > Jay > > > -- Thanks Jay Potharaju --089e0111b93ae5f3b7053079c84a--