ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewis john mcgibbney <lewi...@apache.org>
Subject Cannot Build Ambari master branch or 2.4.2 on Ubuntu 16.04.1 LTS
Date Sat, 28 Jan 2017 20:22:02 GMT
Hi Folks,
I'm having a bit of trouble here, and have seen some evidence of other
struggling as well.
After I ensure that all prerequisites are installed, when attempting to
build both master branch and 2.4.2 release, both result in the reactor
summary as below

mvn versions:set -DnewVersion=${AMBARI_VERSION}

This happens when attempting to build metrics as directed in all
installation manuals.


[INFO]
------------------------------------------------------------------------
[INFO] Building ambari-metrics 2.4.2.0.0
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- versions-maven-plugin:2.3:set (default-cli) @ ambari-metrics ---
Enter the new version to set 2.4.2.0.0: :
[INFO] Searching for local aggregator root...
[INFO] Local aggregation root: /home/webmaster/ambari
[INFO] Processing change of org.apache.ambari:ambari-metrics:2.4.2.0.0 ->
2.4.2.0.0
[ERROR]
java.io.FileNotFoundException:
/home/webmaster/ambari/ambari-metrics/ambari-metrics (No such file or
directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:146)
    at org.codehaus.plexus.util.xml.XmlReader.<init>(XmlReader.java:124)
    at
org.codehaus.plexus.util.xml.XmlStreamReader.<init>(XmlStreamReader.java:67)
    at
org.codehaus.plexus.util.ReaderFactory.newXmlReader(ReaderFactory.java:118)
    at
org.codehaus.mojo.versions.api.PomHelper.readXmlFile(PomHelper.java:1606)
    at
org.codehaus.mojo.versions.AbstractVersionsUpdaterMojo.process(AbstractVersionsUpdaterMojo.java:321)
    at org.codehaus.mojo.versions.SetMojo.execute(SetMojo.java:298)
    at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] utility ............................................ SKIPPED

The same has been reported numerous times over on various sites (but not
the Ambari lists as far as I can see)
https://community.hortonworks.com/questions/77012/apache-ambari-file-not-found-execution-ambari-metr.html
http://search-hadoop.com/m/Ambari/g7Bc6BiFlM1KGh4B?subj=built+and+install+ambari+2+4+with+CentOS+6+5+meet+with+ambari+metrics+ambari+metrics+No+such+file+or+directory+

Any ideas folks?
Thank you
Lewis
-- 
http://home.apache.org/~lewismc/
@hectorMcSpector
http://www.linkedin.com/in/lmcgibbney

Mime
View raw message