problem: configuration files will be restored after call new Configuration

2011-09-25 Thread Wangda.Tan
Hi All, Environment: Hadoop 0.20.205 (0.20.204 also have this problem) Mac OS 10.6 Java 1.6 I meet a very weird problem, when I make some changes of core-site.xml or other configuration files in HADOOP_CONF, if I run a program with (new Configuration), the changed config files will restored to

Re: HDFS file into Blocks

2011-09-25 Thread Uma Maheswara Rao G 72686
Hi, You can find the Code in DFSOutputStream.java Here there will be one thread DataStreamer thread. This thread will pick the packets from DataQueue and write on to the sockets. Before this, when actually writing the chunks, based on the block size parameter passed from client, it will

Re: HDFS file into Blocks

2011-09-25 Thread He Chen
Hi It is interesting that a guy from Huawei is also working on Hadoop project. :) Chen On Sun, Sep 25, 2011 at 11:29 PM, Uma Maheswara Rao G 72686 mahesw...@huawei.com wrote: Hi, You can find the Code in DFSOutputStream.java Here there will be one thread DataStreamer thread. This