hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rang...@apache.org
Subject svn commit: r729987 - in /hadoop/core/trunk: CHANGES.txt src/hdfs/org/apache/hadoop/hdfs/tools/DFSck.java
Date Mon, 29 Dec 2008 20:04:25 GMT
Author: rangadi
Date: Mon Dec 29 12:04:24 2008
New Revision: 729987

URL: http://svn.apache.org/viewvc?rev=729987&view=rev
Log:
HADOOP-4896. HDFS Fsck does not load HDFS configuration. (Raghu Angadi)

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/tools/DFSck.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=729987&r1=729986&r2=729987&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Mon Dec 29 12:04:24 2008
@@ -515,6 +515,8 @@
     HADOOP-4854. Read reclaim capacity interval from capacity scheduler 
     configuration. (Sreekanth Ramakrishnan via yhemanth)
 
+    HADOOP-4896. HDFS Fsck does not load HDFS configuration. (Raghu Angadi)
+
 Release 0.19.1 - Unreleased
 
   IMPROVEMENTS

Modified: hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/tools/DFSck.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/tools/DFSck.java?rev=729987&r1=729986&r2=729987&view=diff
==============================================================================
--- hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/tools/DFSck.java (original)
+++ hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/tools/DFSck.java Mon Dec 29 12:04:24
2008
@@ -144,6 +144,11 @@
     return errCode;
   }
 
+  static{
+    Configuration.addDefaultResource("hdfs-default.xml");
+    Configuration.addDefaultResource("hdfs-site.xml");
+  }
+  
   public static void main(String[] args) throws Exception {
     // -files option is also used by GenericOptionsParser
     // Make sure that is not the first argument for fsck



Mime
View raw message