Hi,

Where are the Hadoop configuration files (hdfs-*.xml and mapred-*.xml)  read
in the code? In the org.apache.hadoop.conf.Configuration class, the
following code is in the static block.

    if(cL.getResource("hadoop-site.xml")!=null) {
      LOG.warn("DEPRECATED: hadoop-site.xml found in the classpath. " +
          "Usage of hadoop-site.xml is deprecated. Instead use
core-site.xml, "
          + "mapred-site.xml and hdfs-site.xml to override properties of " +
          "core-default.xml, mapred-default.xml and hdfs-default.xml " +
          "respectively");
    }
    addDefaultResource("core-default.xml");
    addDefaultResource("core-site.xml");

Thanks,
Praveen

Reply via email to