Re: Help in Zeppelin installation

2015-11-05 Thread Renjith Kamath
Hi Pablo/Fengdong, I have used similar steps to resolve the build issues on multiple Ubuntu versions including 14.04 and 15.04. The only difference is that I used Maven 3.3.3, doesn't matter because the issue was due to Phantomjs and libfontconfig. And on Mac I was able to fix it by removing ~/.

Re: Help in Zeppelin installation

2015-11-05 Thread Pablo Torre
Hi guys, I don't know if it is the problem, but I succeed on my Ubuntu 14.04 VM after doing this: - Install libfontconfig - Uninstall maven, instead of using 'sudo apt-get install maven', I downloaded and I installed it manually, version 3.1.0 - Run 'mvn clean package -DskipTests' And everything

Re: Help in Zeppelin installation

2015-11-05 Thread Fengdong Yu
weird. I succeed on the Ubuntu VM, but always failed on Mac. > On Nov 5, 2015, at 5:07 PM, Corneau Damien wrote: > > It doesn't seem to be working. > However the good thing is that my new Ubuntu VM is having the same problem > than everybody. > So now I will be able to investigate that prob

Re: Help in Zeppelin installation

2015-11-05 Thread Pablo Torre
Ok, thanks Corneau. 2015-11-05 10:07 GMT+01:00 Corneau Damien : > It doesn't seem to be working. > However the good thing is that my new Ubuntu VM is having the same problem > than everybody. > So now I will be able to investigate that problem > > On Thu, Nov 5, 2015 at 9:47 AM, Pablo Torre > wr

Re: Help in Zeppelin installation

2015-11-05 Thread Corneau Damien
It doesn't seem to be working. However the good thing is that my new Ubuntu VM is having the same problem than everybody. So now I will be able to investigate that problem On Thu, Nov 5, 2015 at 9:47 AM, Pablo Torre wrote: > Do you mean by using the PR that Courneau shared with us? > > 2015-11-0

Re: Help in Zeppelin installation

2015-11-05 Thread Pablo Torre
Do you mean by using the PR that Courneau shared with us? 2015-11-05 5:20 GMT+01:00 Fengdong Yu : > Did build on the MacBook? if so, please move to Ubuntu VM. I met the same > issue, but I finally succeed on the Ubuntu. > > > > On Nov 5, 2015, at 3:04 AM, Pablo Torre wrote: > > Hi Coernau, > >

Re: Help in Zeppelin installation

2015-11-04 Thread Fengdong Yu
Did build on the MacBook? if so, please move to Ubuntu VM. I met the same issue, but I finally succeed on the Ubuntu. > On Nov 5, 2015, at 3:04 AM, Pablo Torre wrote: > > Hi Coernau, > > I tried it, using the pull request that you shared with us > (https://github.com/apache/incubator-zeppe

Re: Help in Zeppelin installation

2015-11-04 Thread Pablo Torre
Hi Coernau, I tried it, using the pull request that you shared with us ( https://github.com/apache/incubator-zeppelin/pull/390) and it doesn't work 2015-11-04 16:05 GMT+01:00 Corneau Damien : > Hi guys, > > A lot of people got some problem with Zeppelin-web and the karma tests. > Could you try

Re: Help in Zeppelin installation

2015-11-04 Thread Corneau Damien
Hi guys, A lot of people got some problem with Zeppelin-web and the karma tests. Could you try to see if this PR is solving it? https://github.com/apache/incubator-zeppelin/pull/390 On Sat, Oct 31, 2015 at 4:04 PM, Corneau Damien wrote: > Best way to compile when there is this error is to remov

Re: Help in Zeppelin installation

2015-10-31 Thread Corneau Damien
Best way to compile when there is this error is to remove this line: https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-web/Gruntfile.js#L434 On Sat, Oct 31, 2015 at 3:52 PM, Pablo Torre wrote: > Dylan I tried your suggestion but it doesn't work.( sed -i > 's/--no-color/buildSkipT

Re: Help in Zeppelin installation

2015-10-31 Thread Pablo Torre
Dylan I tried your suggestion but it doesn't work.( sed -i 's/--no-color/buildSkipTests --no-color/' zeppelin-web/pom.xml) Prabhjyot Singh, I will try what you say: node_modules/karma/bin/karma start test/karma.conf.js --reporters dots --single-run in your zeppelin-web directory. When I test it

Re: Help in Zeppelin installation

2015-10-29 Thread Dylan Meissner
It seems to me that PhantomJS should never get involved when we specify -DskipTests. It’s kind of gross, but on my build machine I disable those web tests just before building a distributable: git clone https://github.com/apache/incubator-zeppelin.git . sed -i 's/--no-color/buildSkipTests --no-c

Re: Help in Zeppelin installation

2015-10-28 Thread Prabhjyot Singh
Hi Naveen, Can you try and run this node_modules/karma/bin/karma start test/karma.conf.js --reporters dots --single-run in your zeppelin-web directory, and tell us what fails. On 28 October 2015 at 11:50, Corneau Damien wrote: > Those npm errors aren't actually errors, they are pretty mislead

Re: Help in Zeppelin installation

2015-10-27 Thread Corneau Damien
Those npm errors aren't actually errors, they are pretty misleading. Okay, so now we know that it is failing when phamtomjs run. (Zeppelin-web tests). Could you run only: 'Grunt test' inside zeppelon-web? To check what error we have. Also make sure that libfontconfig is installed. On Oct 28, 2015

Re: Help in Zeppelin installation

2015-10-27 Thread naveen xavier
*Hi Corneau,* *I guess you are right as that is exactly what is happening in my case. I got a successful install that made me happy but the web app at 8080 serves a blank page.* *I reinstalled in a fresh folder and found the same error. However, I noticed that a lot of error messages are generate

Re: Help in Zeppelin installation

2015-10-27 Thread Corneau Damien
If normal grunt build didn't pass iin zeppelin-web, then there is no way the mvn clean package in incubator-zeppelin will since it call grunt build On Tue, Oct 27, 2015 at 6:53 PM, Pablo Torre wrote: > I am using a virtual machine with Ubuntu 14.04 > > > $ npm -v > > 1.4.28 > > $ node -v > > v0.

Re: Help in Zeppelin installation

2015-10-27 Thread Pablo Torre
I am using a virtual machine with Ubuntu 14.04 $ npm -v 1.4.28 $ node -v v0.10.40 $ java -version java version "1.7.0_79" OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-0ubuntu1.14.04.1) OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode) Apache Maven 3.1.1 (0728685237757ffbf

Re: Help in Zeppelin installation

2015-10-27 Thread rohit choudhary
Hi Pablo, Some more logs please? The most recent errors are? Also, what's your dev setup - mac/linux? Versions of npm/node/java? Thanks, Rohit. On Tue, Oct 27, 2015 at 10:21 PM, Pablo Torre wrote: > I executed mvn clean package -Pspark-1.4 -Dhadoop.version=2.2.0 > -Phadoop-2.2 -DskipTests but

Re: Help in Zeppelin installation

2015-10-27 Thread Pablo Torre
I executed mvn clean package -Pspark-1.4 -Dhadoop.version=2.2.0 -Phadoop-2.2 -DskipTests but I still have the same problem: INFO] [INFO] BUILD FAILURE [INFO] -

Re: Help in Zeppelin installation

2015-10-27 Thread naveen xavier
Hi Corneau, Does that mean that my force installation of grunt could be a reason for blank page in my browser? Have any of you experienced a similar error? Very limited info available on the net in this regard. On Tue, Oct 27, 2015 at 9:38 PM, rohit choudhary wrote: > Hi Rick, > > What are th

Re: Help in Zeppelin installation

2015-10-27 Thread rohit choudhary
Hi Rick, What are the things that you have in mind? I was thinking of this myself, including some items such as making npm/node etc be strictly local instead of global, a single script that abstracts some of these steps. I will be happy to help. Thanks, Rohit. On Tue, Oct 27, 2015 at 8:40 PM, Ri

Re: Help in Zeppelin installation

2015-10-27 Thread Corneau Damien
I think that if you force zeppelin-web, then there is high chances that the process is not properly complete. These issues happen often, but since its so random, its hard to reproduce and therefore fix. I had than error once, and it just vanished after i changed branch a few times. On Oct 27, 201

Re: Help in Zeppelin installation

2015-10-27 Thread rohit choudhary
Yes. This will work. On Tuesday, October 27, 2015, Pablo Torre wrote: > I can skip the tests. So I should run now this inside incubator-zeppelin? > > mvn clean package -Pspark-1.4 -Dhadoop.version=2.2.0 -Phadoop-2.2 > -DskipTests > > 2015-10-27 16:10 GMT+01:00 Rick Moritz >: > >> From my experi

Re: Help in Zeppelin installation

2015-10-27 Thread Pablo Torre
I can skip the tests. So I should run now this inside incubator-zeppelin? mvn clean package -Pspark-1.4 -Dhadoop.version=2.2.0 -Phadoop-2.2 -DskipTests 2015-10-27 16:10 GMT+01:00 Rick Moritz : > From my experience, that will not work unless you -DskipTests, since the > tests require you have a d

Re: Help in Zeppelin installation

2015-10-27 Thread Rick Moritz
>From my experience, that will not work unless you -DskipTests, since the tests require you have a dist-file available. Even CI runs two builds at the moment. So, if you need a tested (NB: tests will fail anyway, until ZEPPELIN-346 gets merged) distributable, you have to first clean package with -D

Re: Help in Zeppelin installation

2015-10-27 Thread Pablo Torre
Now, should I try to run mvn clean package inside incubador-zeppelin? 2015-10-27 15:50 GMT+01:00 Pablo Torre : > I tried "./grunt --force" right now and it works > > 2015-10-27 15:39 GMT+01:00 naveen xavier : > >> Hi Pablo, >> >> Were you able to build grunt within the zeppelin-web folder? Use th

Re: Help in Zeppelin installation

2015-10-27 Thread Pablo Torre
I tried "./grunt --force" right now and it works 2015-10-27 15:39 GMT+01:00 naveen xavier : > Hi Pablo, > > Were you able to build grunt within the zeppelin-web folder? Use the > following command > ./grunt --force > > On Tue, Oct 27, 2015 at 8:05 PM, Pablo Torre > wrote: > >> Hi guys, >> >> I w

Re: Help in Zeppelin installation

2015-10-27 Thread naveen xavier
Hi Pablo, Were you able to build grunt within the zeppelin-web folder? Use the following command ./grunt --force On Tue, Oct 27, 2015 at 8:05 PM, Pablo Torre wrote: > Hi guys, > > I was taking a look to this thread because I wasn't able to fix my issue. > I followed your suggestions: > > Inside

Re: Help in Zeppelin installation

2015-10-27 Thread Pablo Torre
Hi guys, I was taking a look to this thread because I wasn't able to fix my issue. I followed your suggestions: Inside zeppelin-web: Remove node_modules and bower_components rm -rf ~/.npm npm cache clear mvn clean install And after this inside incubator-zeppelin I executed: mvn clean package -

Re: Help in Zeppelin installation

2015-10-27 Thread naveen xavier
Hi All, Apache Zeppelin still remains elusive. I started the zeppelin daemon and opened in my browser at port 8080. I was greeted with a blank white page. On viewing the browser console I found the error message given below, I also tried different browsers so that is eliminated. Help me again pl

Re: Help in Zeppelin installation

2015-10-27 Thread rohit choudhary
Naveen, Glad! Look forward to your use cases with Zeppelin. Thanks, Rohit. On Tue, Oct 27, 2015 at 4:37 PM, naveen xavier wrote: > Hi Guys > > Yipee Did it > > I just figured that grunt is building only when I give the --force switch. > So I edited the pom.xml in zeppelin-web folder as given b

Re: Help in Zeppelin installation

2015-10-27 Thread naveen xavier
Hi Guys Yipee Did it I just figured that grunt is building only when I give the --force switch. So I edited the pom.xml in zeppelin-web folder as given below and added it as an argument grunt build grunt *--force*

Re: Help in Zeppelin installation

2015-10-27 Thread naveen xavier
Hi all, Just another update. On carrying out activities suggested by Renjith finally my ./grunt build error has been cleared. It gave some warnings but ran with --force switch. Apparently phantomjs has been successfully installed. The current versions displayed are npm: 1.4.21 node: 0.10.25 phanto

Re: Help in Zeppelin installation

2015-10-27 Thread naveen xavier
Hi Renjith, I just performed every step you told. deleted, removed and cleared cache... .. and I am back to square one. Same grunt errorphew [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.23:grunt (grunt build) on project zeppelin-web: Failed to run task: 'g

Re: Help in Zeppelin installation

2015-10-27 Thread Renjith Kamath
Tried again on a new vm "Ubuntu *15.04 x86_64*". This time everything worked fine just by doing "mvn clean install" in zeppelin-web java 1.8.0_66 maven 3.3.3 npm is supposed to install karma and other karma related deps may be you can delete node_modules and bower_components from zeppelin-web rm -

Re: Help in Zeppelin installation

2015-10-27 Thread naveen xavier
Hi Renjith, Just installed nodesjs legacy as suggested by you. Now on giving the command nodejs -v I am getting v0.10.25 Secondly fontconfig is installed and is the latest version. The problem on running ./grunt in the zeppelin-web folder seems to be in the karma-phantomjs-launcher module. The n

Re: Help in Zeppelin installation

2015-10-27 Thread Renjith Kamath
I was able to see the earlier phantomjs error on a new vm and resolve it by installing libfontconfig. Can you check if "fontconfig" package is installed or not? sudo apt-get install fontconfig Thanks & Regards, RK On Tue, Oct 27, 2015 at 2:28 PM, rohit choudhary wrote: > Naveen, > > Looks like

Re: Help in Zeppelin installation

2015-10-27 Thread rohit choudhary
Naveen, Looks like there's some issue with your NodeJS installation. I looked up some links, there was a breaking change in the package manager, and I think this would work for you sudo apt-get install nodejs-legacy. http://stackoverflow.com/questions/21168141/can-not-install-packages-using-node-

Re: Help in Zeppelin installation

2015-10-27 Thread naveen xavier
Hi Renjith, Did as you suggested, it seems to already exist Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'libfontconfig1' instead of 'libfontconfig' libfontconfig1 is already the newest version. The following packages were automatically

Re: Help in Zeppelin installation

2015-10-27 Thread Renjith Kamath
Hey Naveen, The issue is in PhantomJs dep. Please try "sudo apt-get install libfontconfig" Thanks & Regards, RK On Tue, Oct 27, 2015 at 12:32 PM, naveen xavier wrote: > Hi Corneau & Rohit, > > Just as suggested I did a ./grunt in the zeppelin-web folder. It ran > successfully and then prompte

Re: Help in Zeppelin installation

2015-10-27 Thread naveen xavier
Hi Refer my earlier mail. I successfully installed phantomjs in the zeppelin-web. Now there is an additional folder phantomjs in zeppelin-web folder. However on running ./grunt from the zeppelin-web folder I am still getting the same error about missing module Running "karma:unit" (karma) task W

Re: Help in Zeppelin installation

2015-10-27 Thread naveen xavier
Hi Corneau & Rohit, Just as suggested I did a ./grunt in the zeppelin-web folder. It ran successfully and then prompted to use the following command as the module is missing: install karma-phantomjs-launcher --save-dev On attempting to install the same I received the following error: > phantomj

Re: Help in Zeppelin installation

2015-10-26 Thread rohit choudhary
Hi Naveen, Do you have multiple versions of npm/node on your machine? If so you could use n or nvm and fix up on one version. As another suggestions, please remove the node_modules folder from zeppelin-web, and followed by *npm clear cache* and *npm install* As Damien mentioned earlier, please p

Re: Help in Zeppelin installation

2015-10-26 Thread Corneau Damien
Hi naveen What does './grunt build' command in zeppelin-web is giving you? On Mon, Oct 26, 2015 at 9:34 PM, naveen xavier wrote: > Hi Rohit, > > Thank you so much for your quick response. > > Did exactly as you suggested and successfully installed npm inside > zeppelin-web folder. Now when I giv

Re: Help in Zeppelin installation

2015-10-26 Thread naveen xavier
Hi Rohit, Thank you so much for your quick response. Did exactly as you suggested and successfully installed npm inside zeppelin-web folder. Now when I give the command: *npm -v* I get: *1.4.21* However the command: *mvn package* within the zeppelin-web folder gives the same grunt build error:

Re: Help in Zeppelin installation

2015-10-26 Thread rohit choudhary
Hi Naveen, Can you run npm install inside you /zeppelin-web/ directory? If that is successful you can run - mvn package -Dskiptest -Phadoop-2.3 -Ppyspark (or whatever else you want to configure your zeppelin with). You might be missing on some npm libraries. Thanks, Rohit On Mon, Oct 26, 2015 at

Help in Zeppelin installation

2015-10-26 Thread naveen xavier
Hi, My configuration is as follows: Ubuntu 15.04 Spark 1.4.1 Hadoop 2.7 Maven 3.3.3 I am trying to install Apache Zeppelin using the following command mvn clean package -DskipTests Despite several attempts, I am getting the following error. [ERROR] Failed to execute goal com.github.eirslett:fr