You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@toree.apache.org by "Luciano Resende (JIRA)" <ji...@apache.org> on 2017/09/07 01:32:00 UTC

[jira] [Assigned] (TOREE-396) SparkR interpeter does not connect to Spark 2.1

     [ https://issues.apache.org/jira/browse/TOREE-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luciano Resende reassigned TOREE-396:
-------------------------------------

    Assignee: Michele Lamarca

> SparkR interpeter does not connect to Spark 2.1
> -----------------------------------------------
>
>                 Key: TOREE-396
>                 URL: https://issues.apache.org/jira/browse/TOREE-396
>             Project: TOREE
>          Issue Type: Bug
>            Reporter: Mario Briggs
>            Assignee: Michele Lamarca
>
> I was trying the SparkR interpreter and trying to connect to a Spark 2.1 cluster. I get the following failure when execute any cell
> "Failed to connect JVM: Error in socketConnection(host = hostname, port = port, server = FALSE, : argument "timeout" is missing, with no default
> Calls: sparkR.connect ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
> "
> Looks like in Spark2.1, the [timeout|https://github.com/apache/spark/blob/branch-2.1/R/pkg/R/client.R#L22] param to sparkRConnect no longer has a default value. 
> So this needs to fixed in [here|https://github.com/apache/incubator-toree/blob/master/sparkr-interpreter/src/main/resources/kernelR/sparkr_runner.R#L65]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)