You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/11/13 14:57:11 UTC

[jira] [Commented] (SPARK-11726) Legacy Netty-RPC based submission in standalone mode does not work

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

Apache Spark commented on SPARK-11726:
--------------------------------------

User 'jacek-lewandowski' has created a pull request for this issue:
https://github.com/apache/spark/pull/9692

> Legacy Netty-RPC based submission in standalone mode does not work
> ------------------------------------------------------------------
>
>                 Key: SPARK-11726
>                 URL: https://issues.apache.org/jira/browse/SPARK-11726
>             Project: Spark
>          Issue Type: Bug
>          Components: Deploy, Spark Submit
>            Reporter: Jacek Lewandowski
>
> When the application is to be submitted in cluster mode and standalone Spark scheduler is used either legacy RPC based protocol or REST based protocol can be used. Spark submit firstly tries REST and if it fails it tries RPC.
> When Akka based RPC is used, the REST based connection fails immediately because Akka rejects non-Akka connection. However in Netty based RPC, the REST client seems to wait for the response indefinitely, thus making it impossible to fail and try RPC.
> The fix is quite simple - set a timeout on reading response from the server.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org