Hi , You have to set the "garl-intel2" as a namenode parameter for fs.default.name into hadoop-site.xml
Just follow this URL : http://hadoop.apache.org/core/docs/current/quickstart.html for installing the hadoop and configuring the hadoop parameters . --- Peeyush On Mon, 2008-03-31 at 14:44 +0530, Raghavendra K wrote: > Hi Peeyush, > Thanks a lot for your reply. > Can you tell me how to go about adding garl-intel2 to the > hadoop-default.xml? > Is there any document available for doing that? > Thanking you. > > > On Mon, Mar 31, 2008 at 2:26 PM, Peeyush Bishnoi > <[EMAIL PROTECTED]> wrote: > > Hello Raghvendra , > > It is working with default because "default" parameter used > the > configured file system from hadoop-site/hadoop-default.xml . > As your > localhost and garl-intel2 is not configured with > hadoop-site/hadoop-default.xml , it is throwing the error. > > So with hdfsConnect you have to use Hostname or IP Address > which has > been configured with file system and mentioned in the > hadoop-site/hadoop-default.xml > > Thanks > > --- > Peeyush > > > > On Mon, 2008-03-31 at 12:58 +0530, Raghavendra K wrote: > > > Hi, > > When I connect using the code > > hdfsFS fs = hdfsConnect("default", 0); > > The program works successfully and am able to save the data > also. But when I > > connect using the code > > hdfsFS fs = hdfsConnect("localhost", 0); > > (or) > > hdfsFS fs = hdfsConnect("garl-intel2", 9000); > > I get the following error. > > 08/03/31 12:48:11 INFO ipc.Client: Retrying connect to > server: > > localhost/127.0.0.1:0. Already tried 1 time(s). > > How should I resolve it? > > > > > > > > -- > Regards, > Raghavendra K
