You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Andreas Baumann (JIRA)" <ji...@codehaus.org> on 2009/10/23 10:57:26 UTC

[jira] Created: (MRM-1272) Empty Lucene Index

Empty Lucene Index
------------------

                 Key: MRM-1272
                 URL: http://jira.codehaus.org/browse/MRM-1272
             Project: Archiva
          Issue Type: Bug
    Affects Versions: 1.2.2
         Environment: centos 5.4, 64-bit, JRE 1.6.0_07-b06
            Reporter: Andreas Baumann


The Lucene Index contains the following:

--- Lucene index dump ---
Global Information:
===================
	number of documents: 1
	total number of features: 1
	total number of tokens: 1
	version: 1256287481733
	still current: true
	maximal document number: 1
	has deletions: false

Field Information:
==================
Fields of type 'ALL':
	DESCRIPTOR
	IDXINFO
Fields of type 'INDEXED':
	DESCRIPTOR
Fields of type 'INDEXED_NO_TERMVECTOR':
	DESCRIPTOR
Fields of type 'INDEXED_WITH_TERMVECTOR':
Fields of type 'TERMVECTOR':
Fields of type 'TERMVECTOR_WITH_OFFSET':
Fields of type 'TERMVECTOR_WITH_POSITION':
Fields of type 'TERMVECTOR_WITH_POSITION_OFFSET':
Fields of type 'UNINDEXED':
	IDXINFO

Terms:
======
DESCRIPTOR	NexusIndex	1
--- End of Lucene index dump ---

In the archiva.log I see:

org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error occurred while executing indexing task 'indexi
ng-job:internal:stax-utils-20040917.pom:add'
        at org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskE
xecutor.java:163)
        at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueu
eExecutor.java:116)
        at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
        at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
        at java.lang.Thread.run(Unknown Source)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MRM-1272) Empty Lucene Index

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MRM-1272.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.3
         Assignee: Brett Porter

I've added extra logging for the cause of the error. While thids may not fix the error, it should reveal the problem if it occurs again.

> Empty Lucene Index
> ------------------
>
>                 Key: MRM-1272
>                 URL: http://jira.codehaus.org/browse/MRM-1272
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.2.2
>         Environment: centos 5.4, 64-bit, JRE 1.6.0_07-b06
>            Reporter: Andreas Baumann
>            Assignee: Brett Porter
>             Fix For: 1.2.3
>
>
> The Lucene Index contains the following:
> --- Lucene index dump ---
> Global Information:
> ===================
> 	number of documents: 1
> 	total number of features: 1
> 	total number of tokens: 1
> 	version: 1256287481733
> 	still current: true
> 	maximal document number: 1
> 	has deletions: false
> Field Information:
> ==================
> Fields of type 'ALL':
> 	DESCRIPTOR
> 	IDXINFO
> Fields of type 'INDEXED':
> 	DESCRIPTOR
> Fields of type 'INDEXED_NO_TERMVECTOR':
> 	DESCRIPTOR
> Fields of type 'INDEXED_WITH_TERMVECTOR':
> Fields of type 'TERMVECTOR':
> Fields of type 'TERMVECTOR_WITH_OFFSET':
> Fields of type 'TERMVECTOR_WITH_POSITION':
> Fields of type 'TERMVECTOR_WITH_POSITION_OFFSET':
> Fields of type 'UNINDEXED':
> 	IDXINFO
> Terms:
> ======
> DESCRIPTOR	NexusIndex	1
> --- End of Lucene index dump ---
> In the archiva.log I see:
> org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error occurred while executing indexing task 'indexi
> ng-job:internal:stax-utils-20040917.pom:add'
>         at org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskE
> xecutor.java:163)
>         at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueu
> eExecutor.java:116)
>         at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
>         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
>         at java.lang.Thread.run(Unknown Source)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRM-1272) Empty Lucene Index

Posted by "Andreas Baumann (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198240#action_198240 ] 

Andreas Baumann commented on MRM-1272:
--------------------------------------

no further exceptions and the situation recovered. I can't really reproduce it.
For sure deleting the Lucene index helps..


> Empty Lucene Index
> ------------------
>
>                 Key: MRM-1272
>                 URL: http://jira.codehaus.org/browse/MRM-1272
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.2.2
>         Environment: centos 5.4, 64-bit, JRE 1.6.0_07-b06
>            Reporter: Andreas Baumann
>
> The Lucene Index contains the following:
> --- Lucene index dump ---
> Global Information:
> ===================
> 	number of documents: 1
> 	total number of features: 1
> 	total number of tokens: 1
> 	version: 1256287481733
> 	still current: true
> 	maximal document number: 1
> 	has deletions: false
> Field Information:
> ==================
> Fields of type 'ALL':
> 	DESCRIPTOR
> 	IDXINFO
> Fields of type 'INDEXED':
> 	DESCRIPTOR
> Fields of type 'INDEXED_NO_TERMVECTOR':
> 	DESCRIPTOR
> Fields of type 'INDEXED_WITH_TERMVECTOR':
> Fields of type 'TERMVECTOR':
> Fields of type 'TERMVECTOR_WITH_OFFSET':
> Fields of type 'TERMVECTOR_WITH_POSITION':
> Fields of type 'TERMVECTOR_WITH_POSITION_OFFSET':
> Fields of type 'UNINDEXED':
> 	IDXINFO
> Terms:
> ======
> DESCRIPTOR	NexusIndex	1
> --- End of Lucene index dump ---
> In the archiva.log I see:
> org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error occurred while executing indexing task 'indexi
> ng-job:internal:stax-utils-20040917.pom:add'
>         at org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskE
> xecutor.java:163)
>         at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueu
> eExecutor.java:116)
>         at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
>         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
>         at java.lang.Thread.run(Unknown Source)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MRM-1272) Empty Lucene Index

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching updated MRM-1272:
----------------------------------

    Fix Version/s:     (was: 1.2.3)
                   1.3

> Empty Lucene Index
> ------------------
>
>                 Key: MRM-1272
>                 URL: http://jira.codehaus.org/browse/MRM-1272
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.2.2
>         Environment: centos 5.4, 64-bit, JRE 1.6.0_07-b06
>            Reporter: Andreas Baumann
>            Assignee: Brett Porter
>             Fix For: 1.3
>
>
> The Lucene Index contains the following:
> --- Lucene index dump ---
> Global Information:
> ===================
> 	number of documents: 1
> 	total number of features: 1
> 	total number of tokens: 1
> 	version: 1256287481733
> 	still current: true
> 	maximal document number: 1
> 	has deletions: false
> Field Information:
> ==================
> Fields of type 'ALL':
> 	DESCRIPTOR
> 	IDXINFO
> Fields of type 'INDEXED':
> 	DESCRIPTOR
> Fields of type 'INDEXED_NO_TERMVECTOR':
> 	DESCRIPTOR
> Fields of type 'INDEXED_WITH_TERMVECTOR':
> Fields of type 'TERMVECTOR':
> Fields of type 'TERMVECTOR_WITH_OFFSET':
> Fields of type 'TERMVECTOR_WITH_POSITION':
> Fields of type 'TERMVECTOR_WITH_POSITION_OFFSET':
> Fields of type 'UNINDEXED':
> 	IDXINFO
> Terms:
> ======
> DESCRIPTOR	NexusIndex	1
> --- End of Lucene index dump ---
> In the archiva.log I see:
> org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error occurred while executing indexing task 'indexi
> ng-job:internal:stax-utils-20040917.pom:add'
>         at org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskE
> xecutor.java:163)
>         at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueu
> eExecutor.java:116)
>         at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
>         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
>         at java.lang.Thread.run(Unknown Source)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRM-1272) Empty Lucene Index

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198202#action_198202 ] 

Brett Porter commented on MRM-1272:
-----------------------------------

was there any further exceptions? What happens if you delete the .index and .indexer directories and restart the server?

> Empty Lucene Index
> ------------------
>
>                 Key: MRM-1272
>                 URL: http://jira.codehaus.org/browse/MRM-1272
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.2.2
>         Environment: centos 5.4, 64-bit, JRE 1.6.0_07-b06
>            Reporter: Andreas Baumann
>
> The Lucene Index contains the following:
> --- Lucene index dump ---
> Global Information:
> ===================
> 	number of documents: 1
> 	total number of features: 1
> 	total number of tokens: 1
> 	version: 1256287481733
> 	still current: true
> 	maximal document number: 1
> 	has deletions: false
> Field Information:
> ==================
> Fields of type 'ALL':
> 	DESCRIPTOR
> 	IDXINFO
> Fields of type 'INDEXED':
> 	DESCRIPTOR
> Fields of type 'INDEXED_NO_TERMVECTOR':
> 	DESCRIPTOR
> Fields of type 'INDEXED_WITH_TERMVECTOR':
> Fields of type 'TERMVECTOR':
> Fields of type 'TERMVECTOR_WITH_OFFSET':
> Fields of type 'TERMVECTOR_WITH_POSITION':
> Fields of type 'TERMVECTOR_WITH_POSITION_OFFSET':
> Fields of type 'UNINDEXED':
> 	IDXINFO
> Terms:
> ======
> DESCRIPTOR	NexusIndex	1
> --- End of Lucene index dump ---
> In the archiva.log I see:
> org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error occurred while executing indexing task 'indexi
> ng-job:internal:stax-utils-20040917.pom:add'
>         at org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskE
> xecutor.java:163)
>         at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueu
> eExecutor.java:116)
>         at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
>         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
>         at java.lang.Thread.run(Unknown Source)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira