Browse Source

HDFS-722. Fix callCreateBlockWriteStream pointcut in FSDatasetAspects.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hdfs/trunk@828782 13f79535-47bb-0310-9956-ffa450edef68
Tsz-wo Sze 15 years ago
parent
commit
fd292c7422

+ 3 - 0
CHANGES.txt

@@ -431,6 +431,9 @@ Release 0.21.0 - Unreleased
     HDFS-679. Appending to a partial chunk incorrectly assumes the
     first packet fills up the partial chunk. (hairong)
 
+    HDFS-722. Fix callCreateBlockWriteStream pointcut in FSDatasetAspects.
+    (szetszwo)
+
 Release 0.20.2 - Unreleased
 
   BUG FIXES

+ 1 - 1
src/test/aop/org/apache/hadoop/hdfs/server/datanode/FSDatasetAspects.aj

@@ -36,7 +36,7 @@ public aspect FSDatasetAspects {
     execution (* FSDataset.getBlockFile(..)) && !within(FSDatasetAspects +);
 
   pointcut callCreateBlockWriteStream(ReplicaInPipeline repl) : 
-    call (BlockWriteStreams createStreams())
+    call (BlockWriteStreams createStreams(..))
     && target (repl)
       && !within(FSDatasetAspects +);