accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-2671) BlockedOutputStream can hit a StackOverflowError
Date Thu, 17 Apr 2014 22:33:22 GMT


ASF subversion and git services commented on ACCUMULO-2671:

Commit 173448903a4b3eb5e755421428e65a4a4dd67de5 in accumulo's branch refs/heads/1.6.0-SNAPSHOT
from [~vines]
[;h=1734489 ]

ACCUMULO-2671 Refactoring BlockedOutputStream to not recurse. With test

> BlockedOutputStream can hit a StackOverflowError
> ------------------------------------------------
>                 Key: ACCUMULO-2671
>                 URL:
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Jonathan Park
>            Assignee: John Vines
>             Fix For: 1.6.1, 1.7.0
> This issue mostly came up after a resolution to ACCUMULO-2668 that allows a byte[] to
be passed directly to the underlying stream from the NoFlushOutputStream.
> The problem appears to be due to the BlockedOutputStream.write(byte[], int, int) implementation
that recursively writes out blocks/buffers out. When the stream is passed a large mutation
(128MB was sufficient to trigger the error for me), this will cause a StackOverflowError.

> This is appears to be specifically with encryption at rest turned on.
> A simple fix would be to unroll the recursion.

This message was sent by Atlassian JIRA

View raw message