Skip to content

Commit

Permalink
Merge pull request #130 from hustfeiwang/KYUUBI-129-master
Browse files Browse the repository at this point in the history
[KYUUBI-129] kyuubi throws java.lang.UnsupportedOperationException when starting #129
  • Loading branch information
yaooqinn committed Dec 6, 2018
2 parents d1d34e5 + 6de108e commit 1e1e83d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/
package org.apache.spark.launcher

import java.util.{ArrayList => JAList, List => JList, Map => JMap}
import java.util.{ArrayList => JAList, HashMap => HMap, List => JList, Map => JMap}

import scala.collection.JavaConverters._
import scala.collection.mutable.ArrayBuffer
Expand Down Expand Up @@ -54,7 +54,7 @@ object KyuubiMain {
new SparkSubmitCommandBuilder(help.toList.asJava)
}

val env = Map.empty[String, String].asJava
val env = new HMap[String, String]()
val cmd = builder.buildCommand(env)
// scalastyle:off
printStream.println("Kyuubi Command: " + join(" ", cmd))
Expand Down

0 comments on commit 1e1e83d

Please sign in to comment.