[SPARK-34520][CORE][FOLLOW-UP] Remove SecurityManager in GangliaSink
### What changes were proposed in this pull request? This is a followup of https://github.com/apache/spark/pull/31636. There was one place missed in `GangliaSink`, and we should also remove `SecurityManager`. ### Why are the changes needed? To make `GangliaSink` work. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? It was found in the internal it tests in the company I work for. Closes #31688 from HyukjinKwon/SPARK-34520-followup. Authored-by: HyukjinKwon <gurwls223@apache.org> Signed-off-by: HyukjinKwon <gurwls223@apache.org>
This commit is contained in:
parent
f494c5cff9
commit
3d0ee9604e
|
@ -25,11 +25,10 @@ import com.codahale.metrics.ganglia.GangliaReporter
|
|||
import info.ganglia.gmetric4j.gmetric.GMetric
|
||||
import info.ganglia.gmetric4j.gmetric.GMetric.UDPAddressingMode
|
||||
|
||||
import org.apache.spark.SecurityManager
|
||||
import org.apache.spark.metrics.MetricsSystem
|
||||
|
||||
class GangliaSink(val property: Properties, val registry: MetricRegistry,
|
||||
securityMgr: SecurityManager) extends Sink {
|
||||
class GangliaSink(
|
||||
val property: Properties, val registry: MetricRegistry) extends Sink {
|
||||
val GANGLIA_KEY_PERIOD = "period"
|
||||
val GANGLIA_DEFAULT_PERIOD = 10
|
||||
|
||||
|
|
Loading…
Reference in a new issue