accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Vines (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-2452) DfsLogger.write(LogFileKey, LogFileValue) flushes with every call
Date Tue, 11 Mar 2014 15:53:44 GMT


John Vines commented on ACCUMULO-2452:

It doesn't actually flush. The loggers are wrapped in an output stream that catches the flush
on that stream, so it doesn't affect normal operations.

> DfsLogger.write(LogFileKey, LogFileValue) flushes with every call
> -----------------------------------------------------------------
>                 Key: ACCUMULO-2452
>                 URL:
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: tserver
>            Reporter: Eric Newton
>            Assignee: Eric Newton
>             Fix For: 1.6.0
> I was reviewing {{DfsLogger}} today and explaining how it works.  I noticed that every
write of every event calls {{flush()}} on output file.  This should be unnecessary since the
flush thread should do all the flush/sync operations. It may be necessary for the encryption
stuff, but we'll need to figure out some sort of alternative implementation for non-encrypted

This message was sent by Atlassian JIRA

View raw message