git-svn-id: https://svn.apache.org/repos/asf/hadoop/hdfs/trunk@824566 13f79535-47bb-0310-9956-ffa450edef68
@@ -271,6 +271,8 @@ Release 0.21.0 - Unreleased
HDFS-518. Create new tests for Append's hflush. (Konstantin Boudnik
via szetszwo)
+ HDFS-688. Add configuration resources to DFSAdmin. (shv)
+
BUG FIXES
HDFS-76. Better error message to users when commands fail because of
@@ -54,6 +54,11 @@ import org.apache.hadoop.util.ToolRunner;
*/
public class DFSAdmin extends FsShell {
+ static{
+ Configuration.addDefaultResource("hdfs-default.xml");
+ Configuration.addDefaultResource("hdfs-site.xml");
+ }
/**
* An abstract class for the execution of a file system command