Thank you Timothy. Your hint would have saved me time, if I had known this earlier.
Getting zeppelin to build inside a network proxied environment is a challenge. I spent a lot of hours running the commands git, npm etc manually, before my build succeeded. I used the git command manually and made the git proxy setting to get the build going. prajod From: Timothy Perrigo [mailto:[email protected]] Sent: 23 April 2015 17:27 To: [email protected] Subject: Tip for building Zeppelin behind firewall which blocks git protocol (port 9418) Greetings all, This is probably common knowledge for for experienced git users, but it had me blocked for a couple of days, so at the risk of sounding like and idiot I'd thought I'd share the problem I was having and its (extremely simple) solution. I had successfully built git from home (on Mac OS X), but was getting build errors trying to do so from my office (on Ubuntu 14.04)-- the Zeppelin: web Application module kept failing when bower was trying to resolve dependencies using the git protocol (rather than https). I kept getting build failures like the one below. The problem was due to the fact that our corporate firewall blocked port 9418, which the git protocol uses (I could use git via https with no problems). The solution was simply to configure git to always use https:// instead of git:// : git config --global url."https://".insteadOf git:// Embarrassingly, I spent hours trying to figure out a work-around before stumbling upon this simple config setting, so I thought I'd send this out to the mailing list in case anyone else was experiencing the same issue. Once I changed the config setting, Zeppelin built completely without any issues! Below is a sample of the errors I would receive before redirecting git to use https instead of the git protocol. If anyone else is trying to build git behind a restrictive firewall, I hope this helps! Tim Example Build Error: [INFO] bower angular-mocks#1.3.8 not-cached git://github.com/angular/bower-angular-mocks.git#1.3.8<http://github.com/angular/bower-angular-mocks.git#1.3.8> [INFO] bower angular-mocks#1.3.8 resolve git://github.com/angular/bower-angular-mocks.git#1.3.8<http://github.com/angular/bower-angular-mocks.git#1.3.8> [INFO] bower angular-scenario#1.3.8 not-cached git://github.com/angular/bower-angular-scenario.git#1.3.8<http://github.com/angular/bower-angular-scenario.git#1.3.8> [INFO] bower angular-scenario#1.3.8 resolve git://github.com/angular/bower-angular-scenario.git#1.3.8<http://github.com/angular/bower-angular-scenario.git#1.3.8> [ERROR] bower bootstrap#~3.2.0 ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/twbs/bootstrap.git<http://github.com/twbs/bootstrap.git>", exit code of #128 fatal: unable to connect to github.com<http://github.com>: github.com<http://github.com>[0: 192.30.252.129]: errno=Connection timed out [ERROR] [ERROR] Additional error details: [ERROR] fatal: unable to connect to github.com<http://github.com>: [ERROR] github.com<http://github.com>[0: 192.30.252.129]: errno=Connection timed out [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Zeppelin .......................................... SUCCESS [3.150s] [INFO] Zeppelin: Interpreter ............................. SUCCESS [6.697s] [INFO] Zeppelin: Zengine ................................. SUCCESS [2.478s] [INFO] Zeppelin: Spark ................................... SUCCESS [23.952s] [INFO] Zeppelin: Markdown interpreter .................... SUCCESS [1.120s] [INFO] Zeppelin: Angular interpreter ..................... SUCCESS [1.015s] [INFO] Zeppelin: Shell interpreter ....................... SUCCESS [1.018s] [INFO] Zeppelin: Hive interpreter ........................ SUCCESS [1.586s] [INFO] Zeppelin: web Application ......................... FAILURE [2:29.662s] [INFO] Zeppelin: Server .................................. SKIPPED [INFO] Zeppelin: Packaging distribution .................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3:10.966s [INFO] Finished at: Tue Apr 21 15:33:32 CDT 2015 [INFO] Final Memory: 45M/829M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.23:bower (bower install) on project zeppelin-web: Failed to run task: 'bower --allow-root install' failed. (error code 1) -> [Help 1] [ERROR] The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
