[ 
https://issues.apache.org/jira/browse/FLINK-1739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14367575#comment-14367575
 ] 

ASF GitHub Bot commented on FLINK-1739:
---------------------------------------

Github user StephanEwen commented on a diff in the pull request:

    https://github.com/apache/flink/pull/499#discussion_r26690147
  
    --- Diff: 
flink-runtime/src/main/scala/org/apache/flink/runtime/taskmanager/TaskManager.scala
 ---
    @@ -1274,9 +1274,10 @@ object TaskManager {
             "' is missing (hostname/address of JobManager to connect to).")
         }
     
    -    if (port <= 0) {
    +    if (port <= 0 || port >= 65535) {
    --- End diff --
    
    Agree, 65535 should be in range...


> Fix the bug of JobManager and TaskManager Port Check.
> -----------------------------------------------------
>
>                 Key: FLINK-1739
>                 URL: https://issues.apache.org/jira/browse/FLINK-1739
>             Project: Flink
>          Issue Type: Bug
>          Components: JobManager, Local Runtime, TaskManager
>            Reporter: Sibao Hong
>             Fix For: master
>
>
> The IPC port of JobManager and IPC port of TaskManager must be great than 0 
> and less than 65535.
> It must have check the port whether is in right range area before run the 
> JobManager and TaskManager.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to