Hi Alejandro,
Yes I have tried "mvn clean package -DskipTests". I've followed the release
candidate review documentation and also the 2.4.2 installation
documentation. No luck so far! I assume that CentOS is the preferred OS to
run Ambari on?
Thank you for your response.
Lewis


On Wed, Feb 1, 2017 at 11:12 AM, Alejandro Fernandez <
[email protected]> wrote:

> Is anyone else building on Ubuntu?
>
> Lewis, have you  tried building with "mvn clean package -DskipTests"?
>
> Thanks,
> Alejandro
>
> From: lewis john mcgibbney <[email protected]>
> Reply-To: "[email protected]" <[email protected]>
> Date: Tuesday, January 31, 2017 at 6:18 PM
> To: "[email protected]" <[email protected]>
> Subject: Re: Cannot Build Ambari master branch or 2.4.2 on Ubuntu 16.04.1
> LTS
>
> Hi Sumit,
> I followed the wiki entry and have ended up at another dead end!
> I install absolutely everything as per the wiki page, I then execute 'mvn
> clean install -DskipTests', this results in the following
>
> [INFO]
> [INFO] --- maven-assembly-plugin:2.4.1:single (make-assembly) @ ambari ---
> [INFO] Reading assembly descriptor: /home/webmaster/apache-ambari-
> 2.4.2-src/ambari-project/src/main/assemblies/empty.xml
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Ambari Main ........................................ FAILURE [
> 5.877 s]
> [INFO] Apache Ambari Project POM .......................... SKIPPED
> [INFO] Ambari Web ......................................... SKIPPED
> [INFO] Ambari Views ....................................... SKIPPED
> [INFO] Ambari Admin View .................................. SKIPPED
>
> The offending file 'empty.xml' is present at
> https://github.com/apache/ambari/blob/release-2.4.2/
> ambari-project/src/main/assemblies/empty.xml
> I've never seen an empty assembly file before, has anyone else encountered
> this error when attempting to build Ambari 2.4.2?
> Thanks
>
> On Tue, Jan 31, 2017 at 5:39 PM, lewis john mcgibbney <[email protected]>
> wrote:
>
>> Thank you Sumit, I'll try it out.
>> Best
>>
>>
>> On Sat, Jan 28, 2017 at 12:22 PM, lewis john mcgibbney <
>> [email protected]> wrote:
>>
>>> 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>(XmlStrea
>>> mReader.java:67)
>>>     at org.codehaus.plexus.util.ReaderFactory.newXmlReader(ReaderFa
>>> ctory.java:118)
>>>     at org.codehaus.mojo.versions.api.PomHelper.readXmlFile(PomHelp
>>> er.java:1606)
>>>     at org.codehaus.mojo.versions.AbstractVersionsUpdaterMojo.proce
>>> ss(AbstractVersionsUpdaterMojo.java:321)
>>>     at org.codehaus.mojo.versions.SetMojo.execute(SetMojo.java:298)
>>>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMoj
>>> o(DefaultBuildPluginManager.java:134)
>>>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj
>>> oExecutor.java:207)
>>>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj
>>> oExecutor.java:153)
>>>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj
>>> oExecutor.java:145)
>>>     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.b
>>> uildProject(LifecycleModuleBuilder.java:116)
>>>     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.b
>>> uildProject(LifecycleModuleBuilder.java:80)
>>>     at org.apache.maven.lifecycle.internal.builder.singlethreaded.S
>>> ingleThreadedBuilder.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(NativeMethodAcce
>>> ssorImpl.java:57)
>>>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
>>> thodAccessorImpl.java:43)
>>>     at java.lang.reflect.Method.invoke(Method.java:606)
>>>     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnha
>>> nced(Launcher.java:289)
>>>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Lau
>>> ncher.java:229)
>>>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithEx
>>> itCode(Launcher.java:415)
>>>     at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launc
>>> her.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-amb
>>> ari-file-not-found-execution-ambari-metr.html
>>> http://search-hadoop.com/m/Ambari/g7Bc6BiFlM1KGh4B?subj=buil
>>> t+and+install+ambari+2+4+with+CentOS+6+5+meet+with+ambari+me
>>> trics+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
>>>
>>
>>
>>
>> --
>> http://home.apache.org/~lewismc/
>> @hectorMcSpector
>> http://www.linkedin.com/in/lmcgibbney
>>
>
>
>
> --
> http://home.apache.org/~lewismc/
> @hectorMcSpector
> http://www.linkedin.com/in/lmcgibbney
>



-- 
http://home.apache.org/~lewismc/
@hectorMcSpector
http://www.linkedin.com/in/lmcgibbney

Reply via email to