You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2015/09/15 10:13:45 UTC
[jira] [Resolved] (OAK-3118) Strange error message when using
FileDataStore with minRecordLength=1m
[ https://issues.apache.org/jira/browse/OAK-3118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Mueller resolved OAK-3118.
---------------------------------
Resolution: Duplicate
OK, so resolved as duplicate. Thanks!
> Strange error message when using FileDataStore with minRecordLength=1m
> ----------------------------------------------------------------------
>
> Key: OAK-3118
> URL: https://issues.apache.org/jira/browse/OAK-3118
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: blob, segmentmk
> Reporter: Thomas Mueller
>
> If the FileDataStore is used, and configured to use a very large minRecordLength, for example 10000000, Oak fails with a strange exception:
> {noformat}
> Caused by: java.lang.IllegalArgumentException: null
> at com.google.common.base.Preconditions.checkArgument(Preconditions.java:77)
> at org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeValueRecord(SegmentWriter.java:598)
> at org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.internalWriteStream(SegmentWriter.java:835)
> at org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeStream(SegmentWriter.java:813)
> at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeBuilder.createBlob(SegmentNodeBuilder.java:116)
> at org.apache.jackrabbit.oak.plugins.index.lucene.OakDirectory$OakIndexFile.flushBlob(OakDirectory.java:229)
> {noformat}
> The exception message should be better.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)