Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building Zeppelin with R #16

Open
zeigerpuppy opened this issue Apr 26, 2016 · 5 comments
Open

Building Zeppelin with R #16

zeigerpuppy opened this issue Apr 26, 2016 · 5 comments

Comments

@zeigerpuppy
Copy link

zeigerpuppy commented Apr 26, 2016

I was wondering about the best way to build Zeppelin with R.
I believe that your code has now been merged (I hope so!).
Does that mean, I can use the main distribution from https://github.com/apache/incubator-zeppelin
and build using the following?

mvn package install -DskipTests

I tried that but the build did not compile the Zeppelin-R from what I can see

I'm putting together some instructions for building from a new install and would be happy to contribute docs. I usually use Debian but am building on Ubuntu 14.04 as it seems better supported for Zeppelin.

I'm also interested in porting to sandstorm.

@elbamos
Copy link
Owner

elbamos commented Apr 26, 2016

That's exactly it but also add -Pr to your build line to build the R components.

mvn package install -DskipTests -Pr

If you want to work on the docs for Zeppelin I know there's a need for that people would appreciate it. Thanks!

(I'm not familiar with sandstorm I'll check it out.)

On Apr 26, 2016, at 11:13 AM, zeigerpuppy [email protected] wrote:

I was wondering about the best way to build Zeppelin with R.
I believe that your code has now been merged (I hope so!).
Does that mean, I can use the main distribution from https://github.com/apache/incubator-zeppelin
and build using:

mvn package install -DskipTests
I tried that but the build did not compile the Zeppelin-R from what I can see

I'm putting together some instructions for building from a new install and would be happy to contribute docs.

I'm also interested in porting to sandstorm.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

@zeigerpuppy
Copy link
Author

zeigerpuppy commented Apr 26, 2016

Perfect, I'll give it a go and then add it to a build log and tutorial.

Thanks for the help.
ps. here's a good place to start with sandstorm: https://docs.sandstorm.io/en/latest/overview/

@duf59
Copy link

duf59 commented Apr 27, 2016

Hi, great to see the code has been merged ! Thanks a lot for your work !

I'm currently trying it on an Amazon EMR cluster. Building and installing Zepellin went smoothly. I installed the R dependencies (devtools, IRkernel, htmltools, base64enc, evaluate) and built with mvn package install -DskipTests

However I'm having some issue while going through the R tutorial:

  • the HMT output looks a bit weird (and table / image output are not being displayed):
    zepellin-rtuto-html_output
  • sparkR is not found

zepellin-rtuto-sparkr

Any idea what step I could have missed ? is there any Zepellin configuration file I should edit for the R interpreter to find sparkR ?

The R session info is:

sessionInfo()
R version 3.2.2 (2015-08-14)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: Amazon Linux AMI 2016.03
locale:
 [1] LC_CTYPE=en_GB.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_GB.UTF-8        LC_COLLATE=en_GB.UTF-8    
 [5] LC_MONETARY=en_GB.UTF-8    LC_MESSAGES=en_GB.UTF-8   
 [7] LC_PAPER=en_GB.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C       
attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     
other attached packages:
[1] knitr_1.12.3    evaluate_0.8.3  base64enc_0.1-3 repr_0.5.99    
[5] htmltools_0.3.5 rzeppelin_0.1.0
loaded via a namespace (and not attached):
[1] magrittr_1.5  tools_3.2.2   Rcpp_0.12.4   stringi_1.0-1 stringr_1.0.0
[6] digest_0.6.9 

@elbamos
Copy link
Owner

elbamos commented Apr 27, 2016

That tutorial doesn't work. I've submitted a PR to fix it, but haven't had a chance to work on that PR in a few weeks: apache#841

@zeigerpuppy
Copy link
Author

just got it all installed, working well once I got it behind a nginx proxy properly!
Now to clean up the build information.
Where would you prefer I post the build guide?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants