[ 
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

the attached patch supports: 
- parsing dfs.name.edits.dir arguments as URI 
- introducing a new abstraction named LoggingDevice. The subclass named 
FileLoggingDevice should incorporate StorageDirectory (work in progress). The 
idea is that FileLoggingDevice should be treated as the current 
StorageDirectory (when the directory is of type EDITS or IMAGE_AND_EDITS) while 
other types of logging should be treated according to their respective 
properties. 
Two methods (namely getInputDeviceClassName and getOutputDeviceClassName) 
should get the class name of the EditLogInput/OutputStreams associated with 
this type of device. 

the patch passes successfully namenode unit tests 

> 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.19.0
>            Reporter: Luca Telloli
>         Attachments: 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.

Reply via email to