hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-6960) Bugfix in LazyWriter, fix test case and some refactoring
Date Thu, 28 Aug 2014 04:33:58 GMT

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

Arpit Agarwal updated HDFS-6960:
--------------------------------

    Description: 
lazyPersist has a bug. While saving the replica to disk we would save it under {{current/lazyPersist}}.
Instead it should be saved under the appropriate subdirectory e.g. {{current/lazyPersist/subdir1/subdir0}}.


  was:
There was a bug in the lazyPersist code. While saving the replica to disk we would save it
under {{current/lazyPersist}}. Instead it should be saved under the appropriate subdirectory
e.g. {{current/lazyPersist/subdir1/subdir0}}.

Corresponding fix to test case.

Also refactored the LazyWriter to reduce tracked state and simplify the code.


> Bugfix in LazyWriter, fix test case and some refactoring
> --------------------------------------------------------
>
>                 Key: HDFS-6960
>                 URL: https://issues.apache.org/jira/browse/HDFS-6960
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, test
>    Affects Versions: HDFS-6581
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>         Attachments: HDFS-6960.01.patch
>
>
> lazyPersist has a bug. While saving the replica to disk we would save it under {{current/lazyPersist}}.
Instead it should be saved under the appropriate subdirectory e.g. {{current/lazyPersist/subdir1/subdir0}}.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message