It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Fisheye Scanning subversion repository Issues

Karanam Subbarao Apr 01, 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

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

0 votes
Somnath Khanra Apr 02, 2013

Hi Lucas,

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

Regards,

Somnath

Conor MacNeill Atlassian Team Apr 02, 2013

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

0 votes
Somnath Khanra Apr 02, 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.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Here’s what we’re doing to make Jira Cloud faster

Hello Community 🤗 I’m Nikhil, a Product Manager on the Jira Cloud team working on performance improvements. Performance is an ongoing journey and we continue to invest heavily in it. We under...

103 views 0 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you