Cutezjz / galagosearch

Automatically exported from code.google.com/p/galagosearch
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

"Key is too long" exception thrown #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
running 'galago build' , pointing to a directory of HTML documents (~300k) from 
a site mirror created through 'wget'.

Linux Fedora Core 5, java version "1.6.0_10-rc2", latest Galago release from 
SVN. 
output from 'svn info':
Path: .
URL: http://galagosearch.googlecode.com/svn/trunk
Repository Root: http://galagosearch.googlecode.com/svn
Repository UUID: 029f083a-8788-11dd-9299-37fd5bf03096
Revision: 72
Node Kind: directory
Schedule: normal
Last Changed Author: trevor.strohman
Last Changed Rev: 72
Last Changed Date: 2009-01-26 10:13:59 -0500 (Mon, 26 Jan 2009)

received exception near the end (?) of building the index:
Exception in thread "main" java.util.concurrent.ExecutionException: Stage threw 
an exception:
        at org.galagosearch.tupleflow.execution.JobExecutor$JobExecutionStatus.waitForStages(JobExecutor.java:1135)
        at org.galagosearch.tupleflow.execution.JobExecutor$JobExecutionStatus.run(JobExecutor.java:1073)
        at org.galagosearch.tupleflow.execution.JobExecutor.runWithServer(JobExecutor.java:1191)
        at org.galagosearch.tupleflow.execution.JobExecutor.runLocally(JobExecutor.java:1215)
        at org.galagosearch.core.tools.App.handleBuild(App.java:116)
        at org.galagosearch.core.tools.App.main(App.java:377)
Caused by: java.io.IOException: Key is too long.
        at org.galagosearch.core.index.IndexWriter.add(IndexWriter.java:454)
        at org.galagosearch.core.index.ExtentIndexWriter.processExtentName(ExtentIndexWriter.java:48)
        at 
org.galagosearch.core.types.NumberedExtent$ExtentNameNumberBeginOrder$DuplicateE
liminator.processExtentName(NumberedExtent.jav
a:802)
        at 
org.galagosearch.core.types.NumberedExtent$ExtentNameNumberBeginOrder$ShreddedBu
ffer.copyUntilExtentName(NumberedExtent.java:
457)
        at org.galagosearch.core.types.NumberedExtent$ExtentNameNumberBeginOrder$ShreddedBuffer.copyUntil(NumberedExtent.java:528)
        at org.galagosearch.core.types.NumberedExtent$ExtentNameNumberBeginOrder$ShreddedCombiner.run(NumberedExtent.java:587)
        at org.galagosearch.tupleflow.OrderedCombiner.run(OrderedCombiner.java:141)
        at org.galagosearch.tupleflow.execution.ThreadedStageExecutor$InstanceRunnable.run(ThreadedStageExecutor.java:57)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)

Original issue reported on code.google.com by jel...@gmail.com on 28 Jan 2009 at 6:03

GoogleCodeExporter commented 8 years ago

Original comment by trevor.s...@gmail.com on 29 Jan 2009 at 4:34