Return-Path: X-Original-To: apmail-zest-dev-archive@minotaur.apache.org Delivered-To: apmail-zest-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A0F9217881 for ; Tue, 9 Jun 2015 11:42:37 +0000 (UTC) Received: (qmail 77298 invoked by uid 500); 9 Jun 2015 11:42:37 -0000 Delivered-To: apmail-zest-dev-archive@zest.apache.org Received: (qmail 77261 invoked by uid 500); 9 Jun 2015 11:42:37 -0000 Mailing-List: contact dev-help@zest.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zest.apache.org Delivered-To: mailing list dev@zest.apache.org Received: (qmail 77247 invoked by uid 99); 9 Jun 2015 11:42:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2015 11:42:37 +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 juergen.jetmar@gmail.com designates 209.85.212.177 as permitted sender) Received: from [209.85.212.177] (HELO mail-wi0-f177.google.com) (209.85.212.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2015 11:40:21 +0000 Received: by wifx6 with SMTP id x6so13584344wif.0 for ; Tue, 09 Jun 2015 04:42:09 -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=VdFS+7ID0s4CfsdfPU/YsyIzV/U8y4xMgX4NsG6Ya58=; b=qzIDRLaTSM+wGL+W6OmuPECtAjQgsU0pKv4OKzbncxubl/7JJfUjqEsY203maf47re /FIX2G5l6ZIZinxjKGiI5aO3y3AYZ8aRSC9gE1Vmvuf9YPB3hjDzpq/h73lpOGS6wLWJ MBvCZKBQ5CkUcGR3KkrIAV4lMA57phVKrXRbBVLD4ZOc/w1RKg9JRzqQ+rnAofX2CyI0 qktzbTyNcky5e2LN6TMg+LU7KZF4HZ/C4Cizt4xSBn522ZogeOC4FQ2SYylia4lbDU94 4ppAS9GMfAvgmNSHTTeJKK99rdRCfIoLuuFOkE660NHXoOH6hdJYZH6VFHExncQEjqf5 +xFw== MIME-Version: 1.0 X-Received: by 10.180.218.195 with SMTP id pi3mr31741334wic.71.1433850129317; Tue, 09 Jun 2015 04:42:09 -0700 (PDT) Received: by 10.27.128.193 with HTTP; Tue, 9 Jun 2015 04:42:09 -0700 (PDT) In-Reply-To: References: Date: Tue, 9 Jun 2015 13:42:09 +0200 Message-ID: Subject: Re: [Elastic Search] exception on startup From: Jiri Jetmar To: dev@zest.apache.org Content-Type: multipart/alternative; boundary=001a1134ce049e866a0518143f86 X-Virus-Checked: Checked by ClamAV on apache.org --001a1134ce049e866a0518143f86 Content-Type: text/plain; charset=UTF-8 Just a guess - it looks like that you are trying to create a index with a name that is already existing. Possible solutions are : - check if the index is already created - delete the file-based storage (this approach is used in the unit tests) - Use each time a new name What is the context of this "myapp" ? Cheers, jj 2015-06-09 13:23 GMT+02:00 Niclas Hedhman : > Paul (since you wrote this once upon a time), > > I get an exception every time the Elastic Search Extension is loaded, even > if I wipe the $HOME/Library/Application Support/myapp where it seems that > ES extension is using (oh, yeah I am using the file system store) > > Any ideas? Is it expected? > > > Caused by: org.elasticsearch.indices.IndexAlreadyExistsException: > [qi4j_index] already exists > at > > org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validateIndexName(MetaDataCreateIndexService.java:164) > at > > org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validate(MetaDataCreateIndexService.java:539) > at > > org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.access$100(MetaDataCreateIndexService.java:89) > at > > org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$2.execute(MetaDataCreateIndexService.java:229) > at > > org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:328) > at > > org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:153) > at > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > ... 1 more > > Cheers > -- > Niclas Hedhman, Software Developer > http://zest.apache.org - New Energy for Java > --001a1134ce049e866a0518143f86--