spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Terry Hole <hujie.ea...@gmail.com>
Subject Is it possible to set the akka specify properties (akka.extensions) in spark
Date Fri, 08 May 2015 03:19:14 GMT
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!

Mime
View raw message