Fisheye throws "Exception getting annotation" when indexing a Perforce repository

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

問題

Fisheye does not complete the indexing of a Perforce repository, and the content of the files is not searchable in Fisheye.

When performing the following action:

  • retrieving the annotations for a file

 

atlassian-fisheye-YYYY-MM-DD.log に次のメッセージが表示される。

WARN  [IncrPing1 repository_name ] fisheye RepositoryConfig-isOfIndexableSize - [repository_name] pathtofile/filename exceeds indexing size limit (10M, limit is 5M).  The contents of this file won't be searchable in FishEye.
ERROR [IncrPing1 repository_name ] fisheye P4Cache-getBlameFallback - Exception getting annotation for pathtofile/filename@revision
com.cenqua.fisheye.perforce.client.P4ClientException: com.atlassian.utils.process.ProcessException:Non-zero exit code: 1 | File size exceeds dm.annotate.maxsize (10485760 bytes).
	at com.cenqua.fisheye.perforce.client.P4Client.getBlame(P4Client.java:510) [fisheye.jar:?]
	at com.cenqua.fisheye.perforce.P4Cache.getBlameFallback(P4Cache.java:366) [fisheye.jar:?]
	at com.cenqua.fisheye.rep.BaseBlameAndLinecountCalculator.calcBlameFromScm(BaseBlameAndLinecountCalculator.java:392) [fisheye.jar:?]
...
WARN  [IncrPing1 repository_name ] fisheye BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo repository_name due to class com.cenqua.fisheye.rep.DbException - java.io.IOException: Exception getting annotation blame: com.atlassian.utils.process.ProcessException:Non-zero exit code: 1 | File size exceeds dm.annotate.maxsize (10485760 bytes).   
com.cenqua.fisheye.rep.DbException: java.io.IOException: Exception getting annotation blame: com.atlassian.utils.process.ProcessException:Non-zero exit code: 1 | File size exceeds dm.annotate.maxsize (10485760 bytes).
	at com.cenqua.fisheye.rep.BaseBlameAndLinecountCalculator.calcBlameFromScm(BaseBlameAndLinecountCalculator.java:445) [fisheye.jar:?]
	at com.cenqua.fisheye.rep.BaseBlameAndLinecountCalculator.calcBlame(BaseBlameAndLinecountCalculator.java:281) [fisheye.jar:?]
	at com.cenqua.fisheye.rep.BaseBlameAndLinecountCalculator.calculateRevisionData(BaseBlameAndLinecountCalculator.java:177) [fisheye.jar:?]
...
Caused by: java.io.IOException: Exception getting annotation blame: com.atlassian.utils.process.ProcessException:Non-zero exit code: 1 | File size exceeds dm.annotate.maxsize (10485760 bytes).
	at com.cenqua.fisheye.perforce.P4Cache.getBlameFallback(P4Cache.java:370) [fisheye.jar:?]
	at com.cenqua.fisheye.rep.BaseBlameAndLinecountCalculator.calcBlameFromScm(BaseBlameAndLinecountCalculator.java:392) [fisheye.jar:?]

原因

The Perforce p4 annotate command fails due to a file exceeding the dm.annotate.size setting.

ソリューション

  • Set or Increase the value of the dm.annotate.maxsize to be higher than the limit reported in the log file. More information regarding this setting are available on the Perforce annotate page.
最終更新日 2018 年 7 月 31 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.