From dev-return-18937-archive-asf-public=cust-asf.ponee.io@manifoldcf.apache.org Mon Dec 31 15:40:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id BD4E618067A for ; Mon, 31 Dec 2018 15:40:03 +0100 (CET) Received: (qmail 22217 invoked by uid 500); 31 Dec 2018 14:40:02 -0000 Mailing-List: contact dev-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@manifoldcf.apache.org Delivered-To: mailing list dev@manifoldcf.apache.org Received: (qmail 22206 invoked by uid 99); 31 Dec 2018 14:40:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2018 14:40:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 57812C238F for ; Mon, 31 Dec 2018 14:40:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id KrVKp4ntC0DH for ; Mon, 31 Dec 2018 14:40:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id D6F2B5F581 for ; Mon, 31 Dec 2018 14:40:00 +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 6D485E00D4 for ; Mon, 31 Dec 2018 14:40:00 +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 211C72538C for ; Mon, 31 Dec 2018 14:40:00 +0000 (UTC) Date: Mon, 31 Dec 2018 14:40:00 +0000 (UTC) From: "Karl Wright (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CONNECTORS-1562) Documents unreachable due to hopcount are not considered unreachable on cleanup pass MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CONNECTORS-1562?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D16731338#comment-16731338 ]=20 Karl Wright commented on CONNECTORS-1562: ----------------------------------------- Yes, that's the error. Specifically: {code} Caused by: java.io.IOException: Stream Closed at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_191] at java.io.FileInputStream.read(FileInputStream.java:255) ~[?:1.8.0= _191] at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284) ~[?:1= .8.0_191] at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326) ~[?:1.= 8.0_191] at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) ~[?:1.8.0_= 191] at java.io.InputStreamReader.read(InputStreamReader.java:184) ~[?:1= .8.0_191] at org.apache.manifoldcf.agents.output.elasticsearch.ElasticSearchI= ndex$IndexRequestEntity.writeTo(ElasticSearchIndex.java:221) ~[?:?] {code} What's happening is that a document is being streamed to ElasticSearch. Th= e input stream for the document is being read to do that. But the stream i= s being closed early by the web connector for some reason before it's entir= ely read. It's not clear why; it could be a difference between the size re= ported by the content type and the actual number of bytes being read, or it= could be the actual web service closing the stream early at some point. At any rate, it is *one* specific document doing this. If you can figure o= ut which document it is, I may be able to come up with a solution. Is it a= very large document? When you try to fetch the document using (say) curl,= does it completely fetch? etc. > Documents unreachable due to hopcount are not considered unreachable on c= leanup pass > -------------------------------------------------------------------------= ----------- > > Key: CONNECTORS-1562 > URL: https://issues.apache.org/jira/browse/CONNECTORS-156= 2 > Project: ManifoldCF > Issue Type: Bug > Components: Elastic Search connector, Web connector > Affects Versions: ManifoldCF 2.11 > Environment: Manifoldcf 2.11 > Elasticsearch=C2=A06.3.2 > Web inputconnector > elastic outputconnecotr > Job crawls website input and outputs content to elastic > Reporter: Tim Steenbeke > Assignee: Karl Wright > Priority: Critical > Labels: starter > Fix For: ManifoldCF 2.12 > > Attachments: Screenshot from 2018-12-31 11-17-29.png, manifoldcf.= log.cleanup, manifoldcf.log.init, manifoldcf.log.reduced > > Original Estimate: 4h > Remaining Estimate: 4h > > My documents aren't removed from ElasticSearch index after rerunning the = changed seeds > I update my job to change the seedmap and rerun it or use the schedualer = to keep it runneng even after updating it. > After the rerun the unreachable documents don't get deleted. > It only adds doucments when they can be reached. -- This message was sent by Atlassian JIRA (v7.6.3#76005)