zhijiangW commented on a change in pull request #6913: [FLINK-10425] 
taskmanager.host is not respected
URL: https://github.com/apache/flink/pull/6913#discussion_r227668099
 
 

 ##########
 File path: 
flink-runtime/src/main/scala/org/apache/flink/runtime/taskmanager/TaskManager.scala
 ##########
 @@ -1736,7 +1736,7 @@ object TaskManager {
     : (String, java.util.Iterator[Integer]) = {
 
     var taskManagerHostname = configuration.getString(
-      ConfigConstants.TASK_MANAGER_HOSTNAME_KEY, null)
+      TaskManagerOptions.HOST, null)
 
 Review comment:
   Maybe we can make it simple for 
`configuration.getString(TaskManagerOptions.HOST)` directly.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to