Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6D33F200D02 for ; Sat, 23 Sep 2017 18:20:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6BC571609B6; Sat, 23 Sep 2017 16:20:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B80F31609B5 for ; Sat, 23 Sep 2017 18:20:09 +0200 (CEST) Received: (qmail 61583 invoked by uid 500); 23 Sep 2017 16:20:08 -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 61573 invoked by uid 99); 23 Sep 2017 16:20:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Sep 2017 16:20:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 166A41A28DA for ; Sat, 23 Sep 2017 16:20:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -97.201 X-Spam-Level: X-Spam-Status: No, score=-97.201 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_BADIPHTTP=2, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100, WEIRD_PORT=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id pjobr2LiUjfp for ; Sat, 23 Sep 2017 16:20:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 369705FDD9 for ; Sat, 23 Sep 2017 16:20:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5DE83E045B for ; Sat, 23 Sep 2017 16:20:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6B5A724215 for ; Sat, 23 Sep 2017 16:20:02 +0000 (UTC) Date: Sat, 23 Sep 2017 16:20:02 +0000 (UTC) From: "Joel Bernstein (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SOLR-11392) StreamExpressionTest.testParallelExecutorStream fails too frequently MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 23 Sep 2017 16:20:10 -0000 [ https://issues.apache.org/jira/browse/SOLR-11392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16177867#comment-16177867 ] Joel Bernstein commented on SOLR-11392: --------------------------------------- [~romseygeek], I'm wondering if you see anything I might be doing wrong with the code above? I'm creating the workQueue collection as follows: {code} CollectionAdminRequest.createCollection("workQueue", "conf", 2, 1).process(cluster.getSolrClient()); AbstractDistribZkTestBase.waitForRecoveriesToFinish("workQueue", cluster.getSolrClient().getZkStateReader(), false, true, TIMEOUT); {code} But frequently on jenkins this collection seems to not be available when I add documents? Is there another approach I should be using? > StreamExpressionTest.testParallelExecutorStream fails too frequently > -------------------------------------------------------------------- > > Key: SOLR-11392 > URL: https://issues.apache.org/jira/browse/SOLR-11392 > Project: Solr > Issue Type: New Feature > Security Level: Public(Default Security Level. Issues are Public) > Reporter: Joel Bernstein > > I've never been able to reproduce the failure but jenkins fails frequently with the following error: > {code} > Stack Trace: > org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: Error from server at http://127.0.0.1:38180/solr/workQueue_shard2_replica_n3: Expected mime type application/octet-stream but got text/html. > > > Error 404 > > >

HTTP ERROR: 404

>

Problem accessing /solr/workQueue_shard2_replica_n3/update. Reason: >

    Can not find: /solr/workQueue_shard2_replica_n3/update

>
Powered by Jetty:// 9.3.20.v20170531
> > > {code} > What appears to be happening is that the test framework is having trouble setting up the collection. > Here is the test code: > {code} > @Test > public void testParallelExecutorStream() throws Exception { > CollectionAdminRequest.createCollection("workQueue", "conf", 2, 1).process(cluster.getSolrClient()); > AbstractDistribZkTestBase.waitForRecoveriesToFinish("workQueue", cluster.getSolrClient().getZkStateReader(), > false, true, TIMEOUT); > CollectionAdminRequest.createCollection("mainCorpus", "conf", 2, 1).process(cluster.getSolrClient()); > AbstractDistribZkTestBase.waitForRecoveriesToFinish("mainCorpus", cluster.getSolrClient().getZkStateReader(), > false, true, TIMEOUT); > CollectionAdminRequest.createCollection("destination", "conf", 2, 1).process(cluster.getSolrClient()); > AbstractDistribZkTestBase.waitForRecoveriesToFinish("destination", cluster.getSolrClient().getZkStateReader(), > false, true, TIMEOUT); > UpdateRequest workRequest = new UpdateRequest(); > UpdateRequest dataRequest = new UpdateRequest(); > for (int i = 0; i < 500; i++) { > workRequest.add(id, String.valueOf(i), "expr_s", "update(destination, batchSize=50, search(mainCorpus, q=id:"+i+", rows=1, sort=\"id asc\", fl=\"id, body_t, field_i\"))"); > dataRequest.add(id, String.valueOf(i), "body_t", "hello world "+i, "field_i", Integer.toString(i)); > } > workRequest.commit(cluster.getSolrClient(), "workQueue"); > dataRequest.commit(cluster.getSolrClient(), "mainCorpus"); > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org