|
|
|
@ -64,7 +64,7 @@ import org.apache.flink.util.NetUtils
|
|
|
|
|
import org.apache.flink.runtime.process.ProcessReaper
|
|
|
|
|
import org.apache.flink.runtime.security.SecurityUtils
|
|
|
|
|
import org.apache.flink.runtime.security.SecurityUtils.FlinkSecuredRunner
|
|
|
|
|
import org.apache.flink.runtime.util.{LeaderRetrievalUtils, MathUtils, EnvironmentInformation}
|
|
|
|
|
import org.apache.flink.runtime.util.{SignalHandler, LeaderRetrievalUtils, MathUtils, EnvironmentInformation}
|
|
|
|
|
|
|
|
|
|
import scala.concurrent._
|
|
|
|
|
import scala.concurrent.duration._
|
|
|
|
@ -1204,6 +1204,7 @@ object TaskManager {
|
|
|
|
|
// startup checks and logging
|
|
|
|
|
EnvironmentInformation.logEnvironmentInfo(LOG.logger, "TaskManager", args)
|
|
|
|
|
EnvironmentInformation.checkJavaVersion()
|
|
|
|
|
SignalHandler.register(LOG.logger)
|
|
|
|
|
|
|
|
|
|
val maxOpenFileHandles = EnvironmentInformation.getOpenFileHandlesLimit()
|
|
|
|
|
if (maxOpenFileHandles != -1) {
|
|
|
|
|