Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
aiceflower committed Sep 26, 2024
1 parent 2c08414 commit fd1e0aa
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,19 +109,6 @@ class FlinkEngineConnLaunchBuilder extends JavaProcessEngineConnLaunchBuilder {
environment
}

override def getEnvironment(implicit
engineConnBuildRequest: EngineConnBuildRequest
): util.Map[String, String] = {
val environment = new util.HashMap[String, String]
addPathToClassPath(environment, variable(PWD))
val linkisEnvironment = super.getEnvironment
val linkisClassPath = linkisEnvironment.get(Environment.CLASSPATH.toString)
val v = environment.get(Environment.CLASSPATH.toString) + CLASS_PATH_SEPARATOR + linkisClassPath
environment.put(Environment.CLASSPATH.toString, v)
logger.info(environment.asScala.map(e => s"${e._1}->${e._2}").mkString(","))
environment
}

private def contentToBmlResource(userName: String, content: String): BmlResource = {
val contentMap = JsonUtils.jackson.readValue(content, classOf[util.Map[String, Object]])
contentToBmlResource(userName, contentMap)
Expand Down

0 comments on commit fd1e0aa

Please sign in to comment.