Skip to content

Commit

Permalink
disable spark UI web server (need to implement #27 to turn back on)
Browse files Browse the repository at this point in the history
  • Loading branch information
apatrida committed Mar 20, 2017
1 parent ed2d91a commit 76f9c10
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/kotlin/uy/kohesive/elasticsearch/dataimport/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ class App {

Thread.currentThread().contextClassLoader = newClassLoader
try {
SparkSession.builder().appName("esDataImport-${uniqueId}").master(sparkMaster).getOrCreate().use { spark ->
SparkSession.builder()
.appName("esDataImport-${uniqueId}")
.config("spark.ui.enabled", false)
.master(sparkMaster).getOrCreate().use { spark ->

// setup FILE inputs
println()
Expand Down

0 comments on commit 76f9c10

Please sign in to comment.