flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1739) Fix the bug of JobManager and TaskManager Port Check.
Date Wed, 18 Mar 2015 18:53:39 GMT

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

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

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

    https://github.com/apache/flink/pull/499#discussion_r26695073
  
    --- 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 --
    
    Yes, It should be in [0, 65535]


> 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)

Mime
View raw message