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 E2F982009F3 for ; Sat, 21 May 2016 07:59:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E1A79160A25; Sat, 21 May 2016 05:59:14 +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 3C788160A2A for ; Sat, 21 May 2016 07:59:14 +0200 (CEST) Received: (qmail 73209 invoked by uid 500); 21 May 2016 05:59:13 -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 73168 invoked by uid 99); 21 May 2016 05:59:12 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 May 2016 05:59:12 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D188E2C14F8 for ; Sat, 21 May 2016 05:59:12 +0000 (UTC) Date: Sat, 21 May 2016 05:59:12 +0000 (UTC) From: "Karl Wright (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CONNECTORS-1317) Hang crawling job on some ZIP documents MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 21 May 2016 05:59:15 -0000 [ https://issues.apache.org/jira/browse/CONNECTORS-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15294748#comment-15294748 ] Karl Wright commented on CONNECTORS-1317: ----------------------------------------- I have verified that the attached file is successfully extracted by Tika on a trunk build: {code} Start Time Activity Identifier Result Code Bytes Time Result Description 05-21-2016 01:56:01.173 output notification (null) OK 0 1 05-21-2016 01:55:51.176 job end 1463810108510(test) 0 1 05-21-2016 01:55:43.736 document ingest (null) file:/C:/testdata/something.zip OK 364 1 05-21-2016 01:55:43.504 extract [tika] file:/C:/testdata/something.zip OK 364 216 05-21-2016 01:55:43.233 read document C:\testdata\something.zip OK 19806 507 05-21-2016 01:55:41.211 read document C:\testdata OK 0 1 05-21-2016 01:55:41.133 job start 1463810108510(test) 0 1 {code} I therefore strongly suggest you check out trunk and build it. Instructions are provided on the "how to build and deploy" page on the web site. > Hang crawling job on some ZIP documents > --------------------------------------- > > Key: CONNECTORS-1317 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1317 > Project: ManifoldCF > Issue Type: Bug > Components: File system connector > Affects Versions: ManifoldCF 2.3 > Environment: Ubuntu 14.04 Linux 3.13.0-86-generic i686 i686 > java version "1.8.0_31" > Java(TM) SE Runtime Environment (build 1.8.0_31-b13) > Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode) > DB: Postgres 9.5.1 > Reporter: Mr.Keuz > Assignee: Karl Wright > > I use ManifolCF as file crawler. But I found, that crawling process hangs on some zip files. Although some files parsing normally. > Steps: > 1. Run ManfoldCF by "example/start.sh" and Posgres as DB > 2. Create manifold pipeline: File -> Tika -> Solr > 3. Put zip file in folder (in attach below) > 4. Run job > Here zip file that should reproduce bug: > "ManifoldCF_ISSUE_Dive.Into.Python.3.Mark.Pilgrim.2009.zip" > https://yadi.sk/d/0uSdrR5GrsgmG > Note: > As I investigated (by strace) - crawler process tries to open and parse same zip file again and again (it seems from different workers threads). And It seems that document not removes from queue. > I am newbie in ManifoldCF, so it is hard task to me to find problem in source code. > I can send some additional info if needed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)