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

Nico Kruber edited comment on FLINK-5672 at 2/13/17 1:43 PM:
-------------------------------------------------------------

a local cluster does not quite work out of the box via {{start-cluster.sh}}! 
With default values, i.e. {{localhost}} in conf/slaves, it requires that it can 
connect to localhost via ssh.

If {{start-local.sh}} is removed, we should add a special case for 
{{localhost}} that does not require ssh.

Also we need to decide what to do with {{start-local.bat}} since there is no 
{{start-cluster.bat}}.


was (Author: nicok):
a local cluster does not quite work out of the box via {{start-cluster.sh}}! 
With default values, i.e. {{localhost}} in conf/slaves, it requires that it can 
connect to localhost via ssh.

If {{start-local.sh}} is removed, we should add a special case for 
{{localhost}} that does not require ssh.

> 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