elbamos / Zeppelin-With-R

Mirror of Apache Zeppelin (Incubating)
Apache License 2.0
45 stars 24 forks source link

Building Zeppelin with R #16

Open zeigerpuppy opened 8 years ago

zeigerpuppy commented 8 years ago

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 commented 8 years ago

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 notifications@github.com 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 commented 8 years ago

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 commented 8 years ago

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:

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 commented 8 years ago

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: https://github.com/apache/incubator-zeppelin/pull/841

zeigerpuppy commented 8 years ago

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?