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)