Return-Path: X-Original-To: apmail-lucene-general-archive@www.apache.org Delivered-To: apmail-lucene-general-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 79EE417606 for ; Wed, 1 Oct 2014 17:02:21 +0000 (UTC) Received: (qmail 3403 invoked by uid 500); 1 Oct 2014 17:02:20 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 3347 invoked by uid 500); 1 Oct 2014 17:02:20 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 3335 invoked by uid 99); 1 Oct 2014 17:02:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2014 17:02:20 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sachinpkale@gmail.com designates 209.85.217.174 as permitted sender) Received: from [209.85.217.174] (HELO mail-lb0-f174.google.com) (209.85.217.174) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2014 17:01:54 +0000 Received: by mail-lb0-f174.google.com with SMTP id p9so728327lbv.19 for ; Wed, 01 Oct 2014 10:01:53 -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 :content-type; bh=fMyx3kvg5bK1W+nbHkMmbboISUpBOefe8eJkhJfWbJo=; b=iBV6Ty2rgc6p1SXvVDP7Nv4T4G+nAvChoHXNrV1yCQaEnALnJivrskiGg8fE4n+aRB ILAphPKKTU9DyeFwg76nHwzN+hYDG0EoVPePyYBi+pt3YzifnarBnjBX0PpK8KdLrGKU lBB3U8QhSV5NaVlc2E8jk+NIsx1yi2XyvKctlgojqrYB9OKDMMgt3Efpy9qPeThnqqD6 M4+XRea/0Nw/B7hOVGSANr9A9dTKDbcPV8TfCFb69vlom6mfnH6TuSRHWhVyN85WNfzF SWD0pNrD6Lh+0RwtyjpGMOSjrnJJK6mQnZI5L5RHWyhFbJCn3H5pG5hVzsfo9GoNKre9 DfSg== MIME-Version: 1.0 X-Received: by 10.112.163.103 with SMTP id yh7mr53661796lbb.73.1412182913653; Wed, 01 Oct 2014 10:01:53 -0700 (PDT) Received: by 10.114.230.104 with HTTP; Wed, 1 Oct 2014 10:01:53 -0700 (PDT) In-Reply-To: <3FAAF607-11FA-477B-8B7F-AF535673CBB2@lucidworks.com> References: <3FAAF607-11FA-477B-8B7F-AF535673CBB2@lucidworks.com> Date: Wed, 1 Oct 2014 22:31:53 +0530 Message-ID: Subject: Re: Master-Slave setup using SolrCloud From: Sachin Kale To: general@lucene.apache.org Content-Type: multipart/alternative; boundary=089e01183294ed25e805045f7408 X-Virus-Checked: Checked by ClamAV on apache.org --089e01183294ed25e805045f7408 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Actually, the image was captured from SOLR dashboard having following lines= : *Error SolrCore java.lang.NullPointerException* *Error SolrDispatchFilter java.lang.NullPointerException* We are now on SolrCloud setup completely. Memory allocated to each SOLR instance is 7GB. I guess it is more than sufficient for 1 GB index, right? Indexes are stored as normal, local filesystem. We are using latest SOLR version, 4.10.0 I am using three caches: Query Cache: Size 4096, autoWarmCount 2048 Filter cache: size 8192, autoWarmCount 4096 Document cache: size 4096 I think I am setting wrong values from commit maxTime. Just found out following document: http://lucidworks.com/blog/understanding-transaction-logs-softcommit-and-co= mmit-in-sorlcloud/ According to this document, if our requirement is Index-Heavy, Query-Heavy, then autoSoftCommit should be as long as high (not sure what should be its value in my case) and hardCommit to 15 seconds (I am using 15 minutes). Should I change my hard commit interval to 15 minutes? On Wed, Oct 1, 2014 at 9:58 PM, Mark Bennett wrote: > Hello Sachin, > > FYI, at least in my email client, I don't see the embedded graphic (shows > a broken image link). Not sure if that's on my end, or maybe the mailing > list server. > > To your question, some clarification please: > > * You mentioned moving to SolrCloud, but are you still currently running > v3 master/slave, or is this now a SolrCloud setup? > > * Is it possible you're running low on memory? Could you maybe share the > startup switches (memory, GC, etc) > > * A long shot, but I have to ask, where are the indexes being stored? is > this a "normal", local filesystem, or shard storage, or some type of more > exotic storage? (HDFS, etc) > > * Exact version of Solr? > > * The NPE's (Null Pointer Exceptions), are those on the master or > replicas? Have you tried temporarily running with fewer replaces, perhap= s > just 1, for temp debugging purposes? > > Mark > > -- > Mark Bennett / LucidWorks: Search & Big Data / mark.bennett@lucidworks.co= m > > Office: 408-898-4201 / Telecommute: 408-733-0387 / Cell: 408-829-6513 > > On Oct 1, 2014, at 8:49 AM, Sachin Kale sachinpkale@gmail.com>> wrote: > > Hello, > > We are trying to move our traditional master-slave Solr configuration to > SolrCloud. As our index size is very small (around 1 GB), we are having > only one shard. > So basically, we are having same master-slave configuration with one > leader and 6 replicas. > We are experimenting with maxTime of both AutoCommit and AutoSoftCommit. > Currently, autoCommit maxTime is 15 minutes and autoSoftCommit is 1 minut= e > (Let me know if these values does not make sense). > > Caches are set such that warmup time is at most 20 seconds. > > We are having continuous indexing requests mostly for updating the > existing documents. Few requests are for deleting/adding the documents. > > The problem we are facing is that we are getting very frequent > NullPointerExceptions. > We get continuous 200-300 such exceptions within a period of 30 seconds > and for next few minutes, it works fine. > > > =E2=80=8B > I am not sure what would be causing it. My guess, whenever, it is trying > to replay tlog, we are getting these exceptions. Is anything wrong in my > configuration? > > --089e01183294ed25e805045f7408--