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 52BC39BBC for ; Mon, 7 May 2012 19:29:15 +0000 (UTC) Received: (qmail 30624 invoked by uid 500); 7 May 2012 19:29:14 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 30554 invoked by uid 500); 7 May 2012 19:29:14 -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 30546 invoked by uid 99); 7 May 2012 19:29:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 19:29:14 +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; Mon, 07 May 2012 19:29:11 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9EBE94388BC for ; Mon, 7 May 2012 19:28:49 +0000 (UTC) Date: Mon, 7 May 2012 19:28:49 +0000 (UTC) From: "Mikhail Khludnev (JIRA)" To: dev@lucene.apache.org Message-ID: <1097216975.36113.1336418929651.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <76973248.28785.1334589378651.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-3360) Problem with DataImportHandler multi-threaded MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-3360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269925#comment-13269925 ] Mikhail Khludnev commented on SOLR-3360: ---------------------------------------- James, I can't reproduce the failure. mkhl$ ant test-contrib -Dtests.seed=-55eeb72d0a16dfec:4e1a59f5738a6b25:4bf3cbf2bd3b659a -Dtestcase=TestThreaded junit report {code} {code} Finally I added _Total test which enumerates all test params https://github.com/m-khl/solr-patches/commit/0532e653a3319247519f90bd8987c84171ac6a56.diff at core i5 MacBook Pro :solr mkhl$ ant test-contrib -Dtestcase=TestThreaded junit-sequential: [junit] Testsuite: org.apache.solr.handler.dataimport.TestThreaded [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 3.899 sec [junit] junit-parallel: {code} {code} Please give me a clue how to reproduce the failure. What do you use IDE or script? Have you clean before test? Pls show me exact command, junit report, log/output, etc > Problem with DataImportHandler multi-threaded > --------------------------------------------- > > Key: SOLR-3360 > URL: https://issues.apache.org/jira/browse/SOLR-3360 > Project: Solr > Issue Type: Bug > Affects Versions: 3.6 > Environment: Solr 3.6.0, Apache Tomcat 6.0.20, jdk1.6.0_15, Windows XP > Reporter: Claudio R > Assignee: James Dyer > Fix For: 3.6.1 > > Attachments: SOLR-3360-test.patch, SOLR-3360-test.patch, SOLR-3360-test.patch, SOLR-3360-test.patch, SOLR-3360-test.patch, SOLR-3360-test.patch, SOLR-3360.patch > > > Hi, > If I use dataimport with 1 thread, I got: > > 5001 > 1000 > 0 > 2012-04-16 11:21:57 > Indexing completed. Added/Updated: 1000 documents. Deleted 0 documents. > 2012-04-16 11:23:19 > 1000 > 0:1:22.390 > > If I use datamport with 10 threads, I got: > > 0 > 10000 > 0 > 2012-04-16 11:31:43 > Indexing completed. Added/Updated: 10000 documents. Deleted 0 documents. > 2012-04-16 11:41:50 > 10000 > 0:10:7.586 > > The configuration of 10 threads consumed 10 times longer than the configuration with 1 thread. > I have 1000 records in the database. > My db-data-config.xml is shown below: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Thanks. -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org