You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Arpit Agarwal (JIRA)" <ji...@apache.org> on 2014/08/28 05:35:58 UTC

[jira] [Created] (HDFS-6960) Bugfix in LazyWriter, fix test case and some refactoring

Arpit Agarwal created HDFS-6960:
-----------------------------------

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


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.



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