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

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

GitHub user NicoK opened a pull request:

    https://github.com/apache/flink/pull/3298

    [FLINK-5672] add special cases for a local setup in cluster start/stop 
scripts

    With this PR, if all slaves refer to `"localhost"` we run the daemons from 
the script itself instead of using ssh which may not be available. This can be 
seen as a first step in removing the local mode alltogether.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/NicoK/flink flink-5672

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/3298.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3298
    
----
commit 73ba199f9c19a5f6a38dbd6e401d372df7bffd4b
Author: Nico Kruber <[email protected]>
Date:   2017-02-13T14:33:23Z

    [FLINK-5672] add special cases for a local setup in cluster start/stop 
scripts
    
    This way, if all slaves refer to "localhost", we do not require ssh at all.

----


> Job fails with java.lang.IllegalArgumentException: port out of range:-1
> -----------------------------------------------------------------------
>
>                 Key: FLINK-5672
>                 URL: https://issues.apache.org/jira/browse/FLINK-5672
>             Project: Flink
>          Issue Type: Bug
>          Components: Core
>            Reporter: Timo Walther
>
> I started the JobManager with {{start-local.sh}} and started another 
> TaskManager with {{taskmanager.sh start}}. My job is a Table API job with a 
> {{orderBy}} (range partitioning with parallelism 2).
> The job fails with the following exception:
> {code}
> java.lang.IllegalArgumentException: port out of range:-1
>       at java.net.InetSocketAddress.checkPort(InetSocketAddress.java:143)
>       at java.net.InetSocketAddress.<init>(InetSocketAddress.java:188)
>       at 
> org.apache.flink.runtime.io.network.ConnectionID.<init>(ConnectionID.java:47)
>       at 
> org.apache.flink.runtime.deployment.InputChannelDeploymentDescriptor.fromEdges(InputChannelDeploymentDescriptor.java:124)
>       at 
> org.apache.flink.runtime.executiongraph.ExecutionVertex.createDeploymentDescriptor(ExecutionVertex.java:627)
>       at 
> org.apache.flink.runtime.executiongraph.Execution.deployToSlot(Execution.java:358)
>       at 
> org.apache.flink.runtime.executiongraph.Execution$1.apply(Execution.java:284)
>       at 
> org.apache.flink.runtime.executiongraph.Execution$1.apply(Execution.java:279)
>       at 
> org.apache.flink.runtime.concurrent.impl.FlinkFuture$5.onComplete(FlinkFuture.java:259)
>       at akka.dispatch.OnComplete.internal(Future.scala:248)
>       at akka.dispatch.OnComplete.internal(Future.scala:245)
>       at akka.dispatch.japi$CallbackBridge.apply(Future.scala:175)
>       at akka.dispatch.japi$CallbackBridge.apply(Future.scala:172)
>       at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)
>       at 
> org.apache.flink.runtime.concurrent.Executors$DirectExecutor.execute(Executors.java:56)
>       at 
> scala.concurrent.impl.ExecutionContextImpl.execute(ExecutionContextImpl.scala:122)
>       at 
> scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:40)
>       at 
> scala.concurrent.impl.Promise$KeptPromise.onComplete(Promise.scala:333)
>       at 
> org.apache.flink.runtime.concurrent.impl.FlinkFuture.handleAsync(FlinkFuture.java:256)
>       at 
> org.apache.flink.runtime.concurrent.impl.FlinkFuture.handle(FlinkFuture.java:270)
>       at 
> org.apache.flink.runtime.executiongraph.Execution.scheduleForExecution(Execution.java:279)
>       at 
> org.apache.flink.runtime.executiongraph.ExecutionVertex.scheduleForExecution(ExecutionVertex.java:479)
>       at 
> org.apache.flink.runtime.executiongraph.Execution$5.call(Execution.java:525)
>       at 
> org.apache.flink.runtime.executiongraph.Execution$5.call(Execution.java:521)
>       at akka.dispatch.Futures$$anonfun$future$1.apply(Future.scala:95)
>       at 
> scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)
>       at 
> scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>       at java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to