Return-Path: X-Original-To: apmail-manifoldcf-user-archive@www.apache.org Delivered-To: apmail-manifoldcf-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9C44E18F44 for ; Thu, 22 Oct 2015 06:38:56 +0000 (UTC) Received: (qmail 63459 invoked by uid 500); 22 Oct 2015 06:38:56 -0000 Delivered-To: apmail-manifoldcf-user-archive@manifoldcf.apache.org Received: (qmail 63404 invoked by uid 500); 22 Oct 2015 06:38:56 -0000 Mailing-List: contact user-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@manifoldcf.apache.org Delivered-To: mailing list user@manifoldcf.apache.org Received: (qmail 63394 invoked by uid 99); 22 Oct 2015 06:38:56 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2015 06:38:56 +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 012451A244D for ; Thu, 22 Oct 2015 06:38:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.901 X-Spam-Level: ** X-Spam-Status: No, score=2.901 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id RMIoVByF2uNg for ; Thu, 22 Oct 2015 06:38:46 +0000 (UTC) Received: from mail-ig0-f180.google.com (mail-ig0-f180.google.com [209.85.213.180]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id A1A2C2770F for ; Thu, 22 Oct 2015 06:38:45 +0000 (UTC) Received: by igbkq10 with SMTP id kq10so8091267igb.0 for ; Wed, 21 Oct 2015 23:38:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=gbtEaoa+4onsK+W8z8Y9ku9o4WkvAFbZx16ArE532yA=; b=Ai946WVKM41Mf5fgs2G6UPeAwexI47yNM/6e4fTobb4/ekKHRaXGy2v0rHUaIPv1x6 D6u/QnnvcnsCD/+e6480ofaLP/YRpE2YHElnsCA7bfbsZLdhdCz2DOD63d8EorW6KN+e EupdEhXnfmLTqCQR+8LBxCz7AzliusV8fIHOquilBJ8RkpNKjIeHAIl6fKC93+LPun+1 wpuz4jQkc28OTMqSLcwitrYk8wCst5dhdnZxALsNOzRG2GlQy6M3IjmG14e/fTM+DzE8 CqG4BzGTaFPkZGGcB1Kwd+UoY0S7t9NtH8i8GgvqlfG1Y63w6CjNpMy6e3OufeZFlvry zbwQ== MIME-Version: 1.0 X-Received: by 10.50.119.40 with SMTP id kr8mr13774543igb.75.1445495924620; Wed, 21 Oct 2015 23:38:44 -0700 (PDT) Received: by 10.107.181.19 with HTTP; Wed, 21 Oct 2015 23:38:44 -0700 (PDT) In-Reply-To: References: Date: Thu, 22 Oct 2015 02:38:44 -0400 Message-ID: Subject: Re: Exception for Expected index description From: Karl Wright To: "user@manifoldcf.apache.org" Content-Type: multipart/alternative; boundary=089e011609781c83800522abbf11 --089e011609781c83800522abbf11 Content-Type: text/plain; charset=UTF-8 Hi Shigeki, This error occurs when the indexes found on the JobQueue table do not agree with the indexes that ManifoldCF expects to find. In particular, MCF tries to generate a query hint for MySQL to use a specific index that isn't there: new IndexDescription(false,new String[]{docPriorityField,statusField,checkActionField,checkTimeField}) Most likely this has occurred because of an upgrade process that was not done properly, or done at all, or because you attempted to create the MCF database tables by hand. You should be able to cause the upgrade to finish, and all the proper indexes to be created, by running the initialize.sh script. Thanks, Karl On Wed, Oct 21, 2015 at 10:29 PM, Shigeki Kobayashi < shigeki.kobayashi3@g.softbank.co.jp> wrote: > Hello, > > I use MCF ver. 2.1 and crawl files using Windows Share Connection. > > I found the following error but have no clue about this. > Does anyone know in what situation the following error occurs: > > ERROR 2015-10-22 11:06:32,982 (Stuffer thread) - Exception tossed: > Expected index description > org.apache.manifoldcf.core.interfaces.IndexDescription@71d71ab8 not found > org.apache.manifoldcf.core.interfaces.ManifoldCFException: Expected index > description org.apache.manifoldcf.core.interfaces.IndexDescription@71d71ab8 > not found > at > org.apache.manifoldcf.core.database.DBInterfaceMySQL.constructIndexHintClause(DBInterfaceMySQL.java:990) > at > org.apache.manifoldcf.crawler.jobs.JobQueue.getGetNextDocumentsIndexHint(JobQueue.java:309) > at > org.apache.manifoldcf.crawler.jobs.JobManager.fetchAndProcessDocuments(JobManager.java:2976) > at > org.apache.manifoldcf.crawler.jobs.JobManager.getNextDocuments(JobManager.java:2853) > at > org.apache.manifoldcf.crawler.system.StufferThread.run(StufferThread.java:186) > > > > > --089e011609781c83800522abbf11 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Shigeki,

This error occurs when the = indexes found on the JobQueue table do not agree with the indexes that Mani= foldCF expects to find.=C2=A0 In particular, MCF tries to generate a query = hint for MySQL to use a specific index that isn't there:=C2=A0

new IndexDescription(false,new String[]{docPriorityField,s= tatusField,checkActionField,checkTimeField})

M= ost likely this has occurred because of an upgrade process that was not don= e properly, or done at all, or because you attempted to create the MCF data= base tables by hand.=C2=A0 You should be able to cause the upgrade to finis= h, and all the proper indexes to be created, by running the initialize.sh s= cript.

Thanks,
Karl

=

On Wed, Oct= 21, 2015 at 10:29 PM, Shigeki Kobayashi <shigeki.kobaya= shi3@g.softbank.co.jp> wrote:
Hello,

I use MCF ver. 2.1 and crawl = files using Windows Share Connection.

I found the = following error but have no clue about this.=C2=A0
Does anyone kn= ow in what situation the following error occurs:

<= div>
ERROR 2015-10-22 11:06:32,982 (Stuffer thread) - Exception tossed:= Expected index description org.apache.manifoldcf.core.interfaces.IndexDesc= ription@71d71ab8 not found
org.apache.manifoldcf.core.interfaces.= ManifoldCFException: Expected index description org.apache.manifoldcf.core.= interfaces.IndexDescription@71d71ab8 not found
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 at org.apache.manifoldcf.core.database.DBInterfaceMySQL.construc= tIndexHintClause(DBInterfaceMySQL.java:990)
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 at org.apache.manifoldcf.crawler.jobs.JobQueue.getGetNextDocumentsIn= dexHint(JobQueue.java:309)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apa= che.manifoldcf.crawler.jobs.JobManager.fetchAndProcessDocuments(JobManager.= java:2976)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.manifoldcf.c= rawler.jobs.JobManager.getNextDocuments(JobManager.java:2853)
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.manifoldcf.crawler.system.StufferThr= ead.run(StufferThread.java:186)





--089e011609781c83800522abbf11--