You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Terry Hole <hu...@gmail.com> on 2015/05/08 05:19:14 UTC

Is it possible to set the akka specify properties (akka.extensions) in spark

Hi all,

I'd like to monitor the akka using kamon, which need to set the
akka.extension to a list like this in typesafe config format:
  akka {
    extensions = ["kamon.system.SystemMetrics", "kamon.statsd.StatsD"]
  }

But i can not find a way to do this, i have tried these:
1. SparkConf.set("akka.extensions", """["kamon.system.SystemMetrics",
"kamon.statsd.StatsD"]""")
2. use application.conf and set it use java option
"-Dconfig.resource=/path/to/conf"
3. Set "akka.extensions ["kamon.system.SystemMetrics",
"kamon.statsd.StatsD"]" in spark conf file

None of these two works.

Do we have others ways to set this?

Thanks!

Is it possible to set the akka specify properties (akka.extensions) in spark

Posted by Terry Hole <hu...@gmail.com>.
Hi all,

I'd like to monitor the akka using kamon, which need to set the
akka.extension to a list like this in typesafe config format:

  akka {

    extensions = ["kamon.system.SystemMetrics", "kamon.statsd.StatsD"]

  }

But i can not find a way to do this, i have tried these:

1. SparkConf.set("akka.extensions", """["kamon.system.SystemMetrics",
"kamon.statsd.StatsD"]""")

2. use application.conf and set it use java option
"-Dconfig.resource=/path/to/conf"

3. Set "akka.extensions ["kamon.system.SystemMetrics",
"kamon.statsd.StatsD"]" in spark conf file

None of these two works.

Do we have others ways to set this?

Thanks!