Yes, I did a

export HADOOP_CONF_DIR=~/.whirr/hadoop/

before running hadoop fs -ls



On Thu, Feb 23, 2012 at 4:56 PM, Ashish <[email protected]> wrote:

> Did you set the HADOOP_CONF_DIR=~/.whirr/<you cluster name> from the
> shell where you are running the hadoop command?
>
> On Fri, Feb 24, 2012 at 12:23 AM, Andrei Savu <[email protected]>
> wrote:
> > That looks fine.
> >
> > Anything interesting in the Hadoop logs on the remote machines? Are all
> the
> > daemons running as expected?
> >
> > On Thu, Feb 23, 2012 at 6:48 PM, Edmar Ferreira
> > <[email protected]> wrote:
> >>
> >> last lines
> >>
> >>
> >> 2012-02-23 16:04:30,241 INFO
> >>  [org.apache.whirr.actions.ScriptBasedClusterAction] (main) Finished
> running
> >> configure phase scripts on all cluster instances
> >> 2012-02-23 16:04:30,241 INFO
> >>  [org.apache.whirr.service.hadoop.HadoopNameNodeClusterActionHandler]
> (main)
> >> Completed configuration of hadoop role hadoop-namenode
> >> 2012-02-23 16:04:30,241 INFO
> >>  [org.apache.whirr.service.hadoop.HadoopNameNodeClusterActionHandler]
> (main)
> >> Namenode web UI available at
> >> http://ec2-23-20-110-12.compute-1.amazonaws.com:50070
> >> 2012-02-23 16:04:30,242 INFO
> >>  [org.apache.whirr.service.hadoop.HadoopNameNodeClusterActionHandler]
> (main)
> >> Wrote Hadoop site file
> >> /Users/edmaroliveiraferreira/.whirr/hadoop/hadoop-site.xml
> >> 2012-02-23 16:04:30,246 INFO
> >>  [org.apache.whirr.service.hadoop.HadoopNameNodeClusterActionHandler]
> (main)
> >> Wrote Hadoop proxy script
> >> /Users/edmaroliveiraferreira/.whirr/hadoop/hadoop-proxy.sh
> >> 2012-02-23 16:04:30,246 INFO
> >>  [org.apache.whirr.service.hadoop.HadoopJobTrackerClusterActionHandler]
> >> (main) Completed configuration of hadoop role hadoop-jobtracker
> >> 2012-02-23 16:04:30,246 INFO
> >>  [org.apache.whirr.service.hadoop.HadoopJobTrackerClusterActionHandler]
> >> (main) Jobtracker web UI available at
> >> http://ec2-23-20-110-12.compute-1.amazonaws.com:50030
> >> 2012-02-23 16:04:30,246 INFO
> >>  [org.apache.whirr.service.hadoop.HadoopDataNodeClusterActionHandler]
> (main)
> >> Completed configuration of hadoop role hadoop-datanode
> >> 2012-02-23 16:04:30,246 INFO
> >>  [org.apache.whirr.service.hadoop.HadoopTaskTrackerClusterActionHandler]
> >> (main) Completed configuration of hadoop role hadoop-tasktracker
> >> 2012-02-23 16:04:30,253 INFO
> >>  [org.apache.whirr.actions.ScriptBasedClusterAction] (main) Finished
> running
> >> start phase scripts on all cluster instances
> >> 2012-02-23 16:04:30,257 DEBUG [org.apache.whirr.service.ComputeCache]
> >> (Thread-3) closing ComputeServiceContext {provider=aws-ec2,
> >> endpoint=https://ec2.us-east-1.amazonaws.com, apiVersion=2010-06-15,
> >> buildVersion=, identity=08WMRG9HQYYGVQDT57R2, iso3166Codes=[US-VA,
> US-CA,
> >> US-OR, BR-SP, IE, SG, JP-13]}
> >>
> >>
> >>
> >>
> >> On Thu, Feb 23, 2012 at 4:31 PM, Andrei Savu <[email protected]>
> >> wrote:
> >>>
> >>> I think it's the first time I see this. Anything interesting in the
> >>> logs?
> >>>
> >>>
> >>> On Thu, Feb 23, 2012 at 6:27 PM, Edmar Ferreira
> >>> <[email protected]> wrote:
> >>>>
> >>>> Hi guys,
> >>>>
> >>>> When I launch a cluster and run the proxy everything seems to be
> right,
> >>>> but when I try to use any command in hadoop I get this error:
> >>>>
> >>>> Bad connection to FS. command aborted.
> >>>>
> >>>> Any suggestions ?
> >>>>
> >>>> Thanks
> >>>>
> >>>> --
> >>>> Edmar Ferreira
> >>>> Co-Founder at Everwrite
> >>>>
> >>>
> >>
> >>
> >>
> >> --
> >> Edmar Ferreira
> >> Co-Founder at Everwrite
> >>
> >
>
>
>
> --
> thanks
> ashish
>
> Blog: http://www.ashishpaliwal.com/blog
> My Photo Galleries: http://www.pbase.com/ashishpaliwal
>



-- 
Edmar Ferreira
Co-Founder at Everwrite

Reply via email to