Thanks for the response. It seems my ~/.config and ~/.cache directories were owned by root. I changed their ownership and the build works fine now w/o sudo.
Mohit Jaggi Founder, Data Orchard LLC www.dataorchardllc.com > On Aug 19, 2016, at 7:28 PM, Alexander Bezzubov <b...@apache.org> wrote: > > Hi Mohit, > > no, you do not need to be root in order to build Apache Zeppelin. > > This looks like zeppelin-web module failed to build web application. This > might happen due to different reasons i.e one common is networking issues > with bower or npm access. Usually maven build logs list path to npm logs, > inside ./zeppelin-web/ where you can find more details about your particular > failure. > > Please let me know if that helps! > > -- > Alex > > On Sat, Aug 20, 2016 at 4:19 AM, Mohit Jaggi <mohitja...@gmail.com > <mailto:mohitja...@gmail.com>> wrote: > Hi All, > I cloned zeppelin from master and tried to build using the following commands: > > ./dev/change_scala_version.sh 2.11 > mvn clean package -Pspark-2.0 -Phadoop-2.6 -Ppyspark -Psparkr -Pscala-2.11 > -DskipTests > > I get the following failure. Do I need root permission to build zeppelin? > > > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 20:55 min > [INFO] Finished at: 2016-08-19T12:17:25-07:00 > [INFO] Final Memory: 167M/628M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > com.github.eirslett:frontend-maven-plugin:0.0.25:bower (bower install) on > project zeppelin-web: Failed to run task: 'bower --allow-root install' > failed. (error code 1) -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > <http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException> > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :zeppelin-web > > Mohit Jaggi > Founder, > Data Orchard LLC > www.dataorchardllc.com <http://www.dataorchardllc.com/> > > > > >