Browse Source

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 năm trước cách đây
mục cha
commit
9c737be955
2 tập tin đã thay đổi với 4 bổ sung2 xóa
  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>
 
   <!-- ================================================================== -->