incubator-chukwa-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Yang <ey...@yahoo-inc.com>
Subject Re: conf/collectors file problems
Date Fri, 19 Feb 2010 19:18:08 GMT
Hi Guille,

Thanks for catching this.  You are right, the slaves.sh should strip out the
prefix and port for collector file to be consistent between documentation
and the code.  JIRA-455 filed. :)

Regards,
Eric

On 2/19/10 5:51 AM, "Guillermo PĂ©rez" <bisho@tuenti.com> wrote:

> The documentation explain to put in the conf/collectors file:
> 
> http://<collector1HostName>:<collector1Port>/
> http://<collector2HostName>:<collector2Port>/
> http://<collector3HostName>:<collector3Port>/
> 
> But that file is also used by the bin/start-all.sh script, that simply
> tries to ssh to that. Of course, ssh to http://something... doesn't
> work.
> 
> I have modified the slaves.sh file for striping http:// and :<port>
> from that file for getting the host to ssh to. I hope this may help
> other people (maybe I'm doing something wrong?)
> 
> for slave in `cat "$HOSTLIST" | sed -e 's/^http:\/\///;s/:[0-9]*.*//'`; do


Mime
View raw message