[JIRA] (SPARKR-241) Missing SparkR package does not fail immediately

13 views
Skip to first unread message

Felix Cheung (JIRA)

unread,
Mar 29, 2015, 7:54:02 PM3/29/15
to spark...@googlegroups.com
Felix Cheung created an issue
 
SparkR / Improvement SPARKR-241
Missing SparkR package does not fail immediately
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 29/Mar/15 4:53 PM
Priority: Minor Minor
Reporter: Felix Cheung

Is there a reason why sparkR and sparkR-submit are both loading SparkR with require()?

sparkR https://github.com/amplab-extras/SparkR-pkg/blob/c10148e07525e7d3b5c5b2be1b2b8c45a6c495fd/sparkR

sparkR-submit https://github.com/amplab-extras/SparkR-pkg/blob/c10148e07525e7d3b5c5b2be1b2b8c45a6c495fd/pkg/inst/sparkR-submit

From this http://yihui.name/en/2014/07/library-vs-require/
and this http://stackoverflow.com/questions/5595512/what-is-the-difference-between-require-and-library,

it seems it should either get a boolean return value and check for it, or simply use library(SparkR) instead.

Thought? I check and this is the same in the shell.R with SparkR/Spark 1.4.0.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4-OD-16-005#64014-sha1:3f74600)
Atlassian logo

Felix Cheung (JIRA)

unread,
Mar 29, 2015, 7:56:01 PM3/29/15
to spark...@googlegroups.com
Felix Cheung commented on Improvement SPARKR-241
 
Re: Missing SparkR package does not fail immediately

Also, it will probably be good to be able to check the build/version. Likely a separate issues, I manage a bunch of nodes and it helps if it does that.

Felix Cheung (JIRA)

unread,
Mar 30, 2015, 3:52:02 PM3/30/15
to spark...@googlegroups.com
This message was sent by Atlassian JIRA (v6.4-OD-16-006#64014-sha1:e47e3fa)
Atlassian logo

Felix Cheung (JIRA)

unread,
Mar 30, 2015, 6:19:02 PM3/30/15
to spark...@googlegroups.com
Felix Cheung assigned an issue to Felix Cheung
 
Change By: Felix Cheung
Assignee: Felix Cheung
Status: To Do In Progress

Felix Cheung (JIRA)

unread,
Mar 30, 2015, 6:21:21 PM3/30/15
to spark...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages