Return-Path: X-Original-To: apmail-incubator-connectors-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-connectors-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 21D699FFE for ; Sun, 4 Mar 2012 22:09:23 +0000 (UTC) Received: (qmail 8125 invoked by uid 500); 4 Mar 2012 22:09:23 -0000 Delivered-To: apmail-incubator-connectors-dev-archive@incubator.apache.org Received: (qmail 8082 invoked by uid 500); 4 Mar 2012 22:09:23 -0000 Mailing-List: contact connectors-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: connectors-dev@incubator.apache.org Delivered-To: mailing list connectors-dev@incubator.apache.org Received: (qmail 8071 invoked by uid 99); 4 Mar 2012 22:09:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Mar 2012 22:09:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Mar 2012 22:09:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A33C47570 for ; Sun, 4 Mar 2012 22:08:59 +0000 (UTC) Date: Sun, 4 Mar 2012 22:08:59 +0000 (UTC) From: "Karl Wright (Commented) (JIRA)" To: connectors-dev@incubator.apache.org Message-ID: <932969175.20425.1330898939670.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <934270927.14536.1320851751688.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CONNECTORS-288) An ElasticSearch connector would be helpful MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CONNECTORS-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13222036#comment-13222036 ] Karl Wright commented on CONNECTORS-288: ---------------------------------------- Luca, The BaseITDerby class call to super.setUp() calls ConnectorBase.setUp(), which looks like this: {code} @Before public void setUp() throws Exception { try { localCleanUp(); } catch (Exception e) { System.out.println("Warning: Preclean failed: "+e.getMessage()); } try { localSetUp(); } catch (Exception e) { e.printStackTrace(); throw e; } } {code} The localCleanup() call does the following: {code} protected void localCleanUp() throws Exception { initialize(); if (isInitialized()) { ... remove connections, jobs, etc. } } {code} There is no code that calls mcfInstance.stop() in the localCleanUp() method. It is true that the agents process is meant to only run ONCE in a JVM instance. That means you can start it, then stop it, but you cannot start it again after that. The reasons are historical and have to do with avoiding race conditions when more than one entity is trying to start the agents process at the same time. This is one reason that we use fork="true" for both the Maven and Ant invocations of tests. If we do not do this, the agents process will not start on the second and subsequent tests that are called, because the JVM instance is shared in that model across all test runs. > An ElasticSearch connector would be helpful > ------------------------------------------- > > Key: CONNECTORS-288 > URL: https://issues.apache.org/jira/browse/CONNECTORS-288 > Project: ManifoldCF > Issue Type: New Feature > Affects Versions: ManifoldCF 0.5 > Reporter: Piergiorgio Lucidi > Assignee: Piergiorgio Lucidi > Labels: elasticsearch > Fix For: ManifoldCF next > > Attachments: manifold-elasticsearch-patch, manifold-elasticsearch-patch, manifold-elasticsearch-patch, manifold-elasticsearch-patch, manifold-elasticsearch-patch, manifold-elasticsearch-patch, manifold-elasticsearch-patch, manifold-elasticsearch-velocity-patch, manifoldcf-elasticsearch-project-patct > > Original Estimate: 120h > Remaining Estimate: 120h > > An ElasticSearch connector could be very useful to spread the use of ManifoldCF -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira