chukwa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ey...@apache.org
Subject svn commit: r767744 - in /hadoop/chukwa: branches/chukwa-0.1/src/java/org/apache/hadoop/chukwa/extraction/database/MetricDataLoader.java trunk/src/java/org/apache/hadoop/chukwa/extraction/database/MetricDataLoader.java
Date Thu, 23 Apr 2009 00:43:22 GMT
Author: eyang
Date: Thu Apr 23 00:43:22 2009
New Revision: 767744

URL: http://svn.apache.org/viewvc?rev=767744&view=rev
Log:
CHUKWA-158. Consolidated namenode address to a single configuration object. (Eric Yang)

Modified:
    hadoop/chukwa/branches/chukwa-0.1/src/java/org/apache/hadoop/chukwa/extraction/database/MetricDataLoader.java
    hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/extraction/database/MetricDataLoader.java

Modified: hadoop/chukwa/branches/chukwa-0.1/src/java/org/apache/hadoop/chukwa/extraction/database/MetricDataLoader.java
URL: http://svn.apache.org/viewvc/hadoop/chukwa/branches/chukwa-0.1/src/java/org/apache/hadoop/chukwa/extraction/database/MetricDataLoader.java?rev=767744&r1=767743&r2=767744&view=diff
==============================================================================
--- hadoop/chukwa/branches/chukwa-0.1/src/java/org/apache/hadoop/chukwa/extraction/database/MetricDataLoader.java
(original)
+++ hadoop/chukwa/branches/chukwa-0.1/src/java/org/apache/hadoop/chukwa/extraction/database/MetricDataLoader.java
Thu Apr 23 00:43:22 2009
@@ -70,9 +70,8 @@
 
   static {
     conf = new ChukwaConfiguration();
-    String fsName = conf.get("writer.hdfs.filesystem");
     try {
-      fs = FileSystem.get(new URI(fsName), conf);
+      fs = FileSystem.get(conf);
     } catch (Exception e) {
       e.printStackTrace();
       log.warn("Exception during HDFS init, Bailing out!", e);

Modified: hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/extraction/database/MetricDataLoader.java
URL: http://svn.apache.org/viewvc/hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/extraction/database/MetricDataLoader.java?rev=767744&r1=767743&r2=767744&view=diff
==============================================================================
--- hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/extraction/database/MetricDataLoader.java
(original)
+++ hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/extraction/database/MetricDataLoader.java
Thu Apr 23 00:43:22 2009
@@ -70,9 +70,8 @@
 
   static {
     conf = new ChukwaConfiguration();
-    String fsName = conf.get("writer.hdfs.filesystem");
     try {
-      fs = FileSystem.get(new URI(fsName), conf);
+      fs = FileSystem.get(conf);
     } catch (Exception e) {
       e.printStackTrace();
       log.warn("Exception during HDFS init, Bailing out!", e);



Mime
View raw message