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

Wang Zhefeng commented on LIVY-558:
-----------------------------------

Hi [~thijswm]

I submit same command in sparkr session. and they can run correctly:

!2019-02-15 17.31.10.png!

 

I think you can see spark application log or this issue may help: 
https://issues.apache.org/jira/browse/SPARK-8340

 

> 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