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

Sun Rui commented on SPARK-16581:
---------------------------------

I am thinking we are going to make public the following methods:
  newJObject, callJMethod, callJStatic

invokeJava is too low level and may be subject to protocol change.
cleanup.jobj will be automatically invoked to release JVM objects that won't be 
used anymore. Any reason for exposing it?

> Making JVM backend calling functions public
> -------------------------------------------
>
>                 Key: SPARK-16581
>                 URL: https://issues.apache.org/jira/browse/SPARK-16581
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SparkR
>            Reporter: Shivaram Venkataraman
>
> As described in the design doc in SPARK-15799, to help packages that need to 
> call into the JVM, it will be good to expose some of the R -> JVM functions 
> we have. 
> As a part of this we could also rename, reformat the functions to make them 
> more user friendly.



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

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

Reply via email to