Skip to content

Commit

Permalink
Flink removes useless code (#4677)
Browse files Browse the repository at this point in the history
* Flink removes useless code
  • Loading branch information
ChengJie1053 authored Jun 20, 2023
1 parent cd59dba commit d8c018f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ import org.apache.linkis.engineconnplugin.flink.client.config.entries.ExecutionE

object FlinkEnvConfiguration {

val SPARK_LIB_PATH = CommonVars(
"spark.lib.path",
CommonVars("SPARK_HOME", "/appcom/Install/spark").getValue + "/jars"
)

val FLINK_HOME_ENV = "FLINK_HOME"
val FLINK_CONF_DIR_ENV = "FLINK_CONF_DIR"
val FLINK_VERSION = CommonVars("flink.version", "1.12.2")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ class FlinkEngineConnFactory extends MultiExecutorEngineConnFactory with Logging
if (flinkProvidedLibPathList != null && flinkProvidedLibPathList.size() > 0) {
providedLibDirList.addAll(flinkProvidedLibPathList)
}
// if(StringUtils.isNotBlank(flinkLibRemotePath)) providedLibDirList.add(flinkLibRemotePath)
flinkConfig.set(YarnConfigOptions.PROVIDED_LIB_DIRS, providedLibDirList)
// construct jar-dependencies
flinkConfig.set(YarnConfigOptions.SHIP_FILES, context.getShipDirs)
Expand Down

0 comments on commit d8c018f

Please sign in to comment.