spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Harsch <>
Subject Re: Spark metrics for ganglia
Date Wed, 24 Dec 2014 19:58:21 GMT
Did you get past this issue?  I¹m trying to get this to work as well.  You
have to compile in the spark-ganglia-lgpl artifact into your application.


So I added the above snippet to the examples project, and it finds the
class now when I try to run the Pi example, but I get this problem instead:

14/12/24 11:47:23 ERROR metrics.MetricsSystem: Sink class
org.apache.spark.metrics.sink.GangliaSink cannot be instantialized
Caused by: java.lang.NumberFormatException: For input string: "1 "

On 12/15/14, 11:29 AM, "danilopds" <> wrote:

>Thanks tsingfu,
>I used this configuration based in your post: (with ganglia unicast mode)
># Enable GangliaSink for all instances
>I have the following error now.
>ERROR metrics.MetricsSystem: Sink class
>org.apache.spark.metrics.sink.GangliaSink  cannot be instantialized
>View this message in context:
>Sent from the Apache Spark User List mailing list archive at
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message