hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Visioner Sadak <visioner.sa...@gmail.com>
Subject Re: java.net.ConnectException when using Httpfs
Date Tue, 03 Sep 2013 11:03:26 GMT
yeah shud i change my etc/hosts :)


On Tue, Sep 3, 2013 at 3:59 PM, Andre Kelpe <akelpe@concurrentinc.com>wrote:

> something is wrong with your name-resolution. If you look at the error
> message, it says you are trying to connect to 127.0.0.1 instead of the
> remote host.
>
> -André
>
> On Tue, Sep 3, 2013 at 12:05 PM, Visioner Sadak
> <visioner.sadak@gmail.com> wrote:
> > Hello Hadoopers,
> >
> >                           I am trying to configure httpfs below are my
> > configurations in
> >
> >
> > httpfs-site.xml
> >
> > <property>
> > <name>httpfs.fsAccess.conf:fs.default.name
> > </name>
> > <value>hdfs://132.168.0.10:8020</value>
> > </property>
> >
> > and in core-site.xml
> >
> > <property>
> >  <name>hadoop.proxyuser.hadoop.hosts</name>
> >  <value>132.168.0.10</value>
> >  </property>
> >
> > <property>
> > <name>fs.default.name</name>
> > <value>viewfs:///</value>
> > </property>
> >
> > <property>
> > <name>fs.viewfs.mounttable.default.link./NN1Home</name>
> > <value>hdfs://132.168.0.10:8020/NN1Home</value>
> > </property>
> >
> >  I am able to start httpfs but when i try  to access a file through
> httpfs
> > it throws the below error
> >
> > {"RemoteException":{"message":"Call From server1.local\/127.0.0.1 to
> > localhost:8020 failed on connection exception: java.net.ConnectException:
> > Connection refused; For more details see:
> > http:\/\/wiki.apache.org
> \/hadoop\/ConnectionRefused","exception":"ConnectException","javaClassName":"java.net.ConnectException"}}
> >
> >
> >
> >
> >
> >
> >
>
>
>
> --
> André Kelpe
> andre@concurrentinc.com
> http://concurrentinc.com
>

Mime
View raw message