[ 
https://issues.apache.org/jira/browse/HADOOP-6001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721855#action_12721855
 ] 

Luca Telloli commented on HADOOP-6001:
--------------------------------------

I would like to avoid in HADOOP-5189 situations like: 

if (stream is of type Bookkeeper) 
   do this
else 
   do that 

Code in FSEditlog is mostly file related and many methods (rollEditLog, 
purgeEditLog) manipulate files. Storage directories, for instance, are an 
example of file-based logging. 

This patch should help to isolate possibly all situations where the 
file-dependent calls are made in FSEditLog. 

I was also hoping that dividing the steps in multiple independent sub-patches 
for 5188/5189 would speed up commit 

> Incorporate storage directories into EditLogFileInput/Output streams
> --------------------------------------------------------------------
>
>                 Key: HADOOP-6001
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6001
>             Project: Hadoop Core
>          Issue Type: Sub-task
>            Reporter: Luca Telloli
>         Attachments: HADOOP-6001.patch, HADOOP-6001.patch
>
>


-- 
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