ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aravindan Vijayan <avija...@hortonworks.com>
Subject Re: built and install ambari 2.4 with CentOS 6.5,meet with "ambari-metrics/ambari-metrics (No such file or directory)
Date Wed, 31 Aug 2016 16:58:33 GMT

Hi Hudepeng,

Any reason why you did the "pushd ambari-metrics" ? Can you try building from the top level
ambari directory ?

-- 
Thanks and Regards,
Aravindan Vijayan







On 8/30/16, 9:58 PM, "hudepeng" <hudpbj@126.com> wrote:

>hi guys,
>
>Followd Build and install Ambari 2.4.0 from Source
>according the page:
>https://cwiki.apache.org/confluence/display/AMBARI/Build+and+install+Ambari+2.4.0+from+Source
>
>when runing with CentOS 6.5:
>pushd ambari-metrics
>mvn versions:set -DnewVersion=2.4.0
>
>the console logging:
>
>[INFO] Local aggregation root: /root/apache-ambari-2.4.0-src
>[INFO] Processing change of org.apache.ambari:ambari-metrics:2.4.0.0.0 -> 2.4.0
>[ERROR]
>java.io.FileNotFoundException: /root/apache-ambari-2.4.0-src/ambari-metrics/ambari-metrics
(No such file or directory)
>        at java.io.FileInputStream.open0(Native Method)
>        at java.io.FileInputStream.open(FileInputStream.java:195)
>        at java.io.FileInputStream.<init>(FileInputStream.java:138)
>        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:62)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>        at java.lang.reflect.Method.invoke(Method.java:497)
>        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] Processing org.apache.ambari:ambari-metrics
>[INFO]     Updating project org.apache.ambari:ambari-metrics
>[INFO]         from version 2.4.0.0.0 to 2.4.0
>
>how to work arround ?
>
>
>
>
>
> 
Mime
View raw message