Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9FBA6D7FA for ; Sun, 11 Nov 2012 16:05:34 +0000 (UTC) Received: (qmail 83602 invoked by uid 500); 11 Nov 2012 16:05:33 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 83389 invoked by uid 500); 11 Nov 2012 16:05:33 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 83362 invoked by uid 99); 11 Nov 2012 16:05:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Nov 2012 16:05:32 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of erickerickson@gmail.com designates 209.85.219.48 as permitted sender) Received: from [209.85.219.48] (HELO mail-oa0-f48.google.com) (209.85.219.48) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Nov 2012 16:05:24 +0000 Received: by mail-oa0-f48.google.com with SMTP id h2so6133030oag.35 for ; Sun, 11 Nov 2012 08:05:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=pS7NBPDFORFHglIYlMinPFK4yGr0HHKuH2egv3jzwYg=; b=IehN3ZBtu3wRSZnNy8auVPJiBafIkuoM93MItLeNcKYPQ6uM4HhSNtaMUj9LWxfpDH Sdglf3oIrqpui3+6dk+67eJv3a+kK6hF4LwcYt9VPp8MF9NnU6PhxE/nmKycVDjKTGRE XcHn0PL4YmYWMRKYx78GLTQzVhpNh+dJOQGig63ajfd8buht2McGLCBPq4s7qP+f6VPD GTVNlzkW78cKaicgQg+p4ycSIkgfEHjh0f66FtsxYCJIHogLT3w4WYSIjf0llKkGXjKb HRpQxQjW2iNGBrCgYnfJau6H+5T25E89Rwnkh2bSvJ0TCdMDRwo68mTnp3GdfqykQO5N BRtA== MIME-Version: 1.0 Received: by 10.60.169.48 with SMTP id ab16mr12801244oec.15.1352649903552; Sun, 11 Nov 2012 08:05:03 -0800 (PST) Received: by 10.60.32.84 with HTTP; Sun, 11 Nov 2012 08:05:03 -0800 (PST) Date: Sun, 11 Nov 2012 11:05:03 -0500 Message-ID: Subject: SolrCloud and not all shards having an instance, indexing still works (kinda). From: Erick Erickson To: dev@lucene.apache.org Content-Type: multipart/alternative; boundary=bcaec54c4d6201b81204ce3a59d0 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec54c4d6201b81204ce3a59d0 Content-Type: text/plain; charset=ISO-8859-1 Sorry, I'm a bit under the gun so can't look over JIRAs as carefully as I'd like. But this seems odd. Setup: Start a 2-shard SolrCloud setup, with (straight from the example) java -Dbootstrap_confdir=./solr/collection1/conf -Dcollection.configName=myconf -DzkRun -DnumShards=2 -jar start.jar DO NOT start any other instances. Now go to exampleDocs and index everything. I see a lot of output like: POSTing file money.xml SimplePostTool: WARNING: Solr returned an error #503 Service Unavailable SimplePostTool: WARNING: IOException while reading response: java.io.IOException: Server returned HTTP response code: 503 for URL: http://localhost:8983/solr/update which is fine, half my cluster isn't there.. Trying to query on the collection returns errors, also fine. What's surprising is that when I look at the admin page for the collection, it shows 9 documents successfully indexed. If I shut down the cloud instance and started a plain old (not SolrCloud) instance, there were 9 documents in my index. Is this intended behavior or should I raise a JIRA? Thanks, Erick --bcaec54c4d6201b81204ce3a59d0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sorry, I'm a bit under the gun so can't look over JIRAs as carefull= y as I'd like. But this seems odd.

Setup:
= Start a 2-shard SolrCloud setup, with (straight from the example)
java -Dbootstrap_confdir=3D./solr/collection1/conf -Dcollection.configName= =3Dmyconf -DzkRun -DnumShards=3D2 -jar start.jar

DO NOT start any other instances.

Now go to exa= mpleDocs and index everything. I see a lot of output like:
POSTing file money.xml
SimplePostTool: WARNING: Solr re= turned an error #503 Service Unavailable
SimplePostTool: WARNING:= IOException while reading response: java.io.IOException: Server returned H= TTP response code: 503 for URL: http://localhost:8983/solr/update

which is fine, half my cluster isn't there..<= /div>

Trying to query on the collection returns errors, = also fine.

What's surprising is that when I lo= ok at the admin page for the collection, it shows 9 documents successfully = indexed.

If I shut down the cloud instance and started a plain o= ld (not SolrCloud) instance, there were 9 documents in my index.
=
Is this intended behavior or should I raise a JIRA?

Thanks,
Erick
--bcaec54c4d6201b81204ce3a59d0--