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] [Created] (OAK-3118) Strange error message when using FileDataStore with minRecordLength=1m
Date Fri, 17 Jul 2015 08:43:04 GMT
Thomas Mueller created OAK-3118:
-----------------------------------

             Summary: 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
            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