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 "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2014/03/04 15:59:23 UTC
[jira] [Commented] (OAK-1494) Initialization fails on the
SegmentStore on HttpStore
[ https://issues.apache.org/jira/browse/OAK-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13919488#comment-13919488 ]
Alex Parvulescu commented on OAK-1494:
--------------------------------------
This was initially about the backup, but now I see this error even at init time
I see the requests going through for
- /j/root
- /j/root
- /s/9938b68d-6c70-42b1-a499-2a68710ecab0
and then init fails with the mentioned error.
{code}
Exception in thread "main" java.lang.IndexOutOfBoundsException
at java.nio.Buffer.checkIndex(Buffer.java:520)
at java.nio.HeapByteBuffer.getLong(HeapByteBuffer.java:391)
at org.apache.jackrabbit.oak.plugins.segment.Segment.<init>(Segment.java:149)
at org.apache.jackrabbit.oak.plugins.segment.http.HttpStore.loadSegment(HttpStore.java:109)
at org.apache.jackrabbit.oak.plugins.segment.AbstractStore.readSegment(AbstractStore.java:123)
at org.apache.jackrabbit.oak.plugins.segment.Segment.getSegment(Segment.java:266)
at org.apache.jackrabbit.oak.plugins.segment.Record.getSegment(Record.java:109)
at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState.getTemplate(SegmentNodeState.java:74)
at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState.getChildNode(SegmentNodeState.java:333)
at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStore.getRoot(SegmentNodeStore.java:126)
at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStore.<init>(SegmentNodeStore.java:83)
at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStore.<init>(SegmentNodeStore.java:87)
{code}
> Initialization fails on the SegmentStore on HttpStore
> ------------------------------------------------------
>
> Key: OAK-1494
> URL: https://issues.apache.org/jira/browse/OAK-1494
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: segmentmk
> Affects Versions: 0.17.1
> Reporter: Alex Parvulescu
>
> I'm experiencing some issues with the http failover: the backup of the http store is throwing some errors.
> The error comes from running the backup a few times on the same directory (much like an incremental backup) and the segment that causes this seems to have a really small length (284 or on a different occasion 388 bytes transferred).
--
This message was sent by Atlassian JIRA
(v6.2#6252)