hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Telloli (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-5188) Modifications to enable multiple types of logging
Date Fri, 15 May 2009 17:03:45 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-5188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Luca Telloli updated HADOOP-5188:

    Attachment: HADOOP-5188.patch

In this newer version I'm trying to modify the open() method to make use of the class LoggingDevice.
Basically the idea would be the following: 

CustomLoggingDevice would implement LoggingDevice, and contain all the information needed
to configure the custom device when the getNewInputStreamInstance() and getNewOutputStreamInstance()
methods are called. The two methods should return an instance of the implementation of the
EditLogInput/OutputStream class for the specific type of logging. 

open() should then use this method to instanciate a new EditLogOutputStream() for each logging

Unfortunately as it is this patch doesn't pass all unit tests, and I guess the problem is
related to the fact that storage directories are used in three modes, IMAGE, IMAGE_AND_EDITS,
and EDITS. Somehow I'd get rid of the mixed mode if that was possible but I don't exactly
how to proceed, so any help would be appreciated. 

This patch contains HADOOP-5721. 

> Modifications to enable multiple types of logging 
> --------------------------------------------------
>                 Key: HADOOP-5188
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5188
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: dfs
>    Affects Versions: 0.20.0
>            Reporter: Luca Telloli
>             Fix For: 0.21.0
>         Attachments: HADOOP-5188.patch, HADOOP-5188.patch, HADOOP-5188.patch, HADOOP-5188.pdf

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message