Return-Path: X-Original-To: apmail-manifoldcf-dev-archive@www.apache.org Delivered-To: apmail-manifoldcf-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 E3AB417460 for ; Thu, 4 Jun 2015 23:02:38 +0000 (UTC) Received: (qmail 50793 invoked by uid 500); 4 Jun 2015 23:02:38 -0000 Delivered-To: apmail-manifoldcf-dev-archive@manifoldcf.apache.org Received: (qmail 50741 invoked by uid 500); 4 Jun 2015 23:02:38 -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 50729 invoked by uid 99); 4 Jun 2015 23:02:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2015 23:02:38 +0000 Date: Thu, 4 Jun 2015 23:02:38 +0000 (UTC) From: "Arcadius Ahouansou (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CONNECTORS-1191) ManifoldCFException: Unexpected job status encountered 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/CONNECTORS-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arcadius Ahouansou updated CONNECTORS-1191: ------------------------------------------- Attachment: 1433374857580-schedule.png 1433374857580-jobs.png Got some log entries: {code} $ cat manifoldcf.log.12 | grep 1433374857580 DEBUG 2015-06-03 23:48:20,721 (Worker thread '82') - Worker thread processing documents: 1433374857580 DEBUG 2015-06-03 23:48:20,722 (Worker thread '82') - Worker thread about to process {1433374857580 } DEBUG 2015-06-03 23:48:21,405 (Worker thread '99') - Worker thread processing documents: 1433374857580 DEBUG 2015-06-03 23:48:21,407 (Worker thread '99') - Worker thread about to process {1433374857580 } $ cat manifoldcf.log.11 | grep 1433374857580 DEBUG 2015-06-04 00:17:31,231 (Worker thread '99') - Adding 1433374857580 to finishList DEBUG 2015-06-04 00:17:31,231 (Worker thread '99') - Finishing documents {1433374857580 } DEBUG 2015-06-04 00:18:37,459 (Worker thread '82') - Adding 1433374857580 to finishList DEBUG 2015-06-04 00:18:37,459 (Worker thread '82') - Finishing documents {1433374857580 } DEBUG 2015-06-04 00:19:16,946 (Worker thread '82') - Marking completed {1433374857580 } DEBUG 2015-06-04 00:19:38,967 (Worker thread '99') - Marking completed {1433374857580 } ERROR 2015-06-04 00:19:47,486 (Worker thread '99') - Exception tossed: Unexpected jobqueue status - record id 1433374857580, expecting active status, saw 2 org.apache.manifoldcf.core.interfaces.ManifoldCFException: Unexpected jobqueue status - record id 1433374857580, expecting active status, saw 2 {code} This clearly shows that we have thread 99 and 82 processing the very same document. I have attached a screenshot of the schedule as well. Is it possible that another instance of the jobs is scheduled while one is already running? BTW: Some jobs have status "Waiting" ... I wonder what that means. Thanks. > ManifoldCFException: Unexpected job status encountered > ------------------------------------------------------ > > Key: CONNECTORS-1191 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1191 > Project: ManifoldCF > Issue Type: Bug > Components: Web connector > Affects Versions: ManifoldCF 2.0.2 > Environment: - Debian 7.8 x86_64 GNU/Linux > - Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode) > - Server version: 5.5.41-0+wheezy1 (Debian) > Reporter: Arcadius Ahouansou > Assignee: Karl Wright > Priority: Critical > Fix For: ManifoldCF 1.9, ManifoldCF 2.1 > > Attachments: 1433374857580-jobs.png, 1433374857580-schedule.png, CONNECTORS-1191-2.patch, CONNECTORS-1191.patch, manifoldcf2.0.2.log, stuffer-thread-manifoldcf.log, unexpected-jobqueue.png > > > Hello. > I am running the latest ManifoldCF 2.0.2 and my log is filled of > {code} > org.apache.manifoldcf.core.interfaces.ManifoldCFException: Unexpected job status encountered: 34 > at org.apache.manifoldcf.crawler.jobs.Jobs.returnJobToActive(Jobs.java:2073) > at org.apache.manifoldcf.crawler.jobs.JobManager.resetJobs(JobManager.java:8261) > at org.apache.manifoldcf.crawler.system.JobResetThread.run(JobResetThread.java:91) > {code} > I have attached full log for more detail. > Note that I am running against MySQL. > Thanks. -- This message was sent by Atlassian JIRA (v6.3.4#6332)