You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/10/01 10:45:26 UTC

[jira] [Commented] (FLINK-2766) Bad ipv6 urls

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

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

Github user StephanEwen commented on the pull request:

    https://github.com/apache/flink/pull/1192#issuecomment-144657816
  
    Manually merged in bfde1b7379f0a0aef21c836e5ac0842474c7f98f


> Bad ipv6 urls
> -------------
>
>                 Key: FLINK-2766
>                 URL: https://issues.apache.org/jira/browse/FLINK-2766
>             Project: Flink
>          Issue Type: Bug
>    Affects Versions: 0.9.1, 0.9.2
>            Reporter: Arsenii Krasikov
>            Assignee: Stephan Ewen
>            Priority: Blocker
>             Fix For: 0.10
>
>
> There is error with ipv6 addresses in flink-runtime/src/main/scala/org/apache/flink/runtime/jobmanager/JobManager.scala:
> {code:java}
>   /**
>    * Builds the akka actor path for the JobManager actor, given the socket address
>    * where the JobManager's actor system runs.
>    *
>    * @param address The address of the JobManager's actor system.
>    * @return The akka URL of the JobManager actor.
>    */
>   def getRemoteJobManagerAkkaURL(address: InetSocketAddress): String = {
>     val hostPort = address.getAddress().getHostAddress() + ":" + address.getPort()
>     s"akka.tcp://flink@$hostPort/user/$JOB_MANAGER_NAME"
>   }
> {code}
> that leads to 
> {code}
> 19:02:10,451 INFO  org.apache.flink.runtime.taskmanager.TaskManager              - Trying to register at JobManager akka.tcp://flink@2a02:6b8:0:1a39:0:0:12c:1:6123/user/jobmanager (attempt 31, timeout: 30 seconds)
> 19:02:40,470 INFO  org.apache.flink.runtime.taskmanager.TaskManager              - Trying to register at JobManager akka.tcp://flink@2a02:6b8:0:1a39:0:0:12c:1:6123/user/jobmanager (attempt 32, timeout: 30 seconds)
> {code}



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