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

Thijs commented on LIVY-558:
----------------------------

When I run the same code with the sparkR shell on the machine where livy is 
running it does work correctly.

I also do not see any errors being logged or any other messages in the 
application log which gives some hints.

I have the feeling it only happens now with the spark.lapply call...some other 
functions like: sql or gapply are working correctly.

 

Any idea?

> Unable to use spark.lapply function it gives the error: "SparkR has not been 
> initialized. "
> -------------------------------------------------------------------------------------------
>
>                 Key: LIVY-558
>                 URL: https://issues.apache.org/jira/browse/LIVY-558
>             Project: Livy
>          Issue Type: Bug
>    Affects Versions: 0.5.0
>         Environment: spark 2.2.1
>            Reporter: Thijs
>            Priority: Major
>         Attachments: 2019-02-15 17.31.10.png, 
> image-2019-02-14-14-32-01-792.png, image-2019-02-14-14-32-47-042.png
>
>
> Hi,
> I want to use the spark.lapply function with R, so I tried to use the example 
> which is supplied by spark.
> However when I run this example it gives me the following error:
> SparkR has not been initialized.
>  
> See screenshot:
> !image-2019-02-14-14-32-01-792.png!
>  
> I also tried todo what is stated, call the sparkR.session() function, but 
> then it prints the error:
> !image-2019-02-14-14-32-47-042.png!
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to