jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OAK-3118) Strange error message when using FileDataStore with minRecordLength=1m
Date Tue, 15 Sep 2015 08:13:45 GMT

     [ 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)

Mime
View raw message