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: Problems with start-* scripts in trunk
Date Thu, 04 Mar 2010 17:06:20 GMT
Hi Guillermo,

Thanks for catching this.  I reopened CHUKWA-446 with a new patch, could you
try it out?

https://issues.apache.org/jira/browse/CHUKWA-446

Thanks.

Regards,
Eric


On 3/4/10 4:40 AM, "Guillermo PĂ©rez" <bisho@tuenti.com> wrote:

> The start-* script contain:
> 
> "$bin"/chukwa-daemons.sh --config $CHUKWA_CONF_DIR --hosts agents
> start chukwa agent
> 
> But the chukwa-daemons.sh already calls to chukwa. We should specify
> only the command (like "agent") after "start":
> 
> "$bin"/chukwa-daemons.sh --config $CHUKWA_CONF_DIR --hosts agents start agent
> 
> If you don't remove the chukwa, you get an error, the command doesn't
> match any of the checks in the chukwa script, so no classname is
> chosen.
> 
> Another minor detail, bin/start-data-processors.sh tries to start
> dataloader, that is not supported anymore (or at least there is no
> class for it in the chukwa script).
> 
> $ svn diff bin/
> Index: bin/start-agents.sh
> ===================================================================
> --- bin/start-agents.sh (revision 918900)
> +++ bin/start-agents.sh (working copy)
> @@ -28,4 +28,4 @@
>  . "$bin"/chukwa-config.sh
> 
>  # start chukwa agents
> -"$bin"/chukwa-daemons.sh --config $CHUKWA_CONF_DIR --hosts agents
> start chukwa agent
> +"$bin"/chukwa-daemons.sh --config $CHUKWA_CONF_DIR --hosts agents start agent
> Index: bin/start-collectors.sh
> ===================================================================
> --- bin/start-collectors.sh (revision 918900)
> +++ bin/start-collectors.sh (working copy)
> @@ -28,4 +28,4 @@
>  . "$bin"/chukwa-config.sh
> 
>  # start jetty collectors
> -"$bin"/chukwa-daemons.sh --config $CHUKWA_CONF_DIR --hosts collectors
> start "$bin"/chukwa collector
> +"$bin"/chukwa-daemons.sh --config $CHUKWA_CONF_DIR --hosts collectors
> start collector
> Index: bin/start-data-processors.sh
> ===================================================================
> --- bin/start-data-processors.sh (revision 918900)
> +++ bin/start-data-processors.sh (working copy)
> @@ -22,6 +22,6 @@
>  . "$bin"/chukwa-config.sh
> 
>  # start data processors
> -"$bin"/chukwa-daemon.sh --config $CHUKWA_CONF_DIR start chukwa archive
> -"$bin"/chukwa-daemon.sh --config $CHUKWA_CONF_DIR start chukwa demux
> -"$bin"/chukwa-daemon.sh --config $CHUKWA_CONF_DIR start chukwa dataloader
> +"$bin"/chukwa-daemon.sh --config $CHUKWA_CONF_DIR start archive
> +"$bin"/chukwa-daemon.sh --config $CHUKWA_CONF_DIR start demux
> +#"$bin"/chukwa-daemon.sh --config $CHUKWA_CONF_DIR start dataloader
> 


Mime
View raw message