Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Fisheye Scanning subversion repository Issues

Karanam Subbarao April 1, 2013

We created a repository inside a Fisheye/Crucible and started scanning. While it was scanning, the system was restarted for weekend reboot. After the weekend reboot it stopped scanning and it is throwing following Exception. How do I rescan teh repo again..

com.cenqua.fisheye.rep.DbException: java.io.FileNotFoundException: /local/data/appdata/software/infra/apg/internal/Crucible_DATADIR/cache/globalfe/idx1/_13kq.cfs (No such file or directory)

at com.cenqua.fisheye.lucene.LuceneConnection.withWriter(LuceneConnection.java:577)

at com.atlassian.fisheye.quicknav.QuickNavIndexer.deleteRepFromIndex(QuickNavIndexer.java:80)

at com.cenqua.fisheye.rep.BaseRepositoryScanner.doCrossRepoRescanCheck(BaseRepositoryScanner.java:399)

at com.cenqua.fisheye.rep.BaseRepositoryScanner.slurpRepository(BaseRepositoryScanner.java:253)

at com.cenqua.fisheye.rep.BaseRepositoryScanner.doSlurpTransaction(BaseRepositoryScanner.java:225)

at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:184)

at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:92)

at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:383)

at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:28)

at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:67)

at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:138)

at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:128)

at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33)

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:662)

Caused by: java.io.FileNotFoundException: /local/data/appdata/software/infra/apg/internal/Crucible_DATADIR/cache/globalfe/idx1/_13kq.cfs (No such file or directory)

at java.io.RandomAccessFile.open(Native Method)

at java.io.RandomAccessFile.<init>(RandomAccessFile.java:216)

at org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput$Descriptor.<init>(SimpleFSDirectory.java:76)

at org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput.<init>(SimpleFSDirectory.java:97)

at org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.<init>(NIOFSDirectory.java:98)

at org.apache.lucene.store.NIOFSDirectory.openInput(NIOFSDirectory.java:78)

at org.apache.lucene.index.CompoundFileReader.<init>(CompoundFileReader.java:67)

at org.apache.lucene.index.SegmentReader$CoreReaders.<init>(SegmentReader.java:115)

at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:605)

at org.apache.lucene.index.IndexWriter$ReaderPool.get(IndexWriter.java:622)

at org.apache.lucene.index.IndexWriter$ReaderPool.get(IndexWriter.java:597)

at org.apache.lucene.index.DocumentsWriter.applyDeletes(DocumentsWriter.java:1002)

at org.apache.lucene.index.IndexWriter.applyDeletes(IndexWriter.java:4566)

at org.apache.lucene.index.IndexWriter.doFlushInternal(IndexWriter.java:3756)

at org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:3595)

at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3585)

at org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3459)

at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3534)

at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3505)

at com.cenqua.fisheye.lucene.LuceneConnection$IndexHandle.commit(LuceneConnection.java:146)

at com.cenqua.fisheye.lucene.LuceneConnection$IndexHandle.access$600(LuceneConnection.java:76)

3 answers

0 votes
SomnathK April 2, 2013

This solution worked for me:

Delete the following folders and restart FishEye/Crucible

<FISHEYE_INST>/cache/globalfe
<FISHEYE_INST>/var/cache/<REPO_NAME>
Fisheye was able to re-create the cache files and re-scan the Repo.
0 votes
SomnathK April 2, 2013

Hi Lucas,

Tried following the Re-indexing steps, but it does not work.

Regards,

Somnath

Conor
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 2, 2013

Could you elaborate on what "does not work" means?

0 votes
LucasA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 1, 2013

Hi Karanam,

The FishEye index is corrupted -- actually an index file has been removed on the reboot (/local/data/appdata/software/infra/apg/internal/Crucible_DATADIR/cache/globalfe/idx1/_13kq.cfs). Please proceed according described here:

- https://confluence.atlassian.com/display/FISHEYE/Re-indexing+your+repository

Best regards,
Lucas Timm

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events