Re: Hadoop Configuration Files

2011-09-26 Thread Steve Loughran
On 24/09/11 15:48, Harsh J wrote: There are specific derivatives of Configuration class that each read certain *-site.xml files. This is because the XML files are service specific. I'm confused now. My belief is that when a default configuration file is pushed to the list via Configuration.a

Re: Hadoop Configuration Files

2011-09-24 Thread Harsh J
uce framework, class 'YarnConfiguration' reads the yarn-site.xml. On Sat, Sep 24, 2011 at 7:22 PM, Praveen Sripati wrote: > 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 > fol

Hadoop Configuration Files

2011-09-24 Thread Praveen Sripati
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.x