浏览代码

HDFS-1159. clean-cache target removes wrong ivy cache. Contributed by Konstantin Boudnik

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hdfs/trunk@947194 13f79535-47bb-0310-9956-ffa450edef68
Konstantin Boudnik 15 年之前
父节点
当前提交
9c737be955
共有 2 个文件被更改,包括 4 次插入2 次删除
  1. 2 0
      CHANGES.txt
  2. 2 2
      build.xml

+ 2 - 0
CHANGES.txt

@@ -539,6 +539,8 @@ Release 0.21.0 - Unreleased
 
   BUG FIXES
 
+    HDFS-1159. clean-cache target removes wrong ivy cache (cos)
+
     HDFS-76. Better error message to users when commands fail because of 
     lack of quota. Allow quota to be set even if the limit is lower than
     current consumption. (Boris Shkolnik via rangadi)

+ 2 - 2
build.xml

@@ -1030,8 +1030,8 @@
   </target>
 
   <target name="clean-cache" depends="clean" description="Clean. Delete ivy cache">
-    <delete dir="${user.home}/.ivy2/cache/org.apache.hadoop/hadoop-core"/>
-    <delete dir="${user.home}/.ivy2/cache/org.apache.hadoop/hadoop-core-test"/>
+    <delete dir="${user.home}/.ivy2/cache/org.apache.hadoop/hadoop-hdfs"/>
+    <delete dir="${user.home}/.ivy2/cache/org.apache.hadoop/hadoop-hdfs-test"/>
   </target>
 
   <!-- ================================================================== -->