ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jun aoki <ja...@apache.org>
Subject Re: Advice on building Ambari from source?
Date Mon, 02 Feb 2015 21:49:22 GMT
Hi Hellmar, if you want to build rpms to install, you can skip tests by
adding skipTests option to your mvn call
e.g.
mvn package -DskipTests

On Fri, Jan 30, 2015 at 7:22 AM, Hellmar Becker <becker@hellmar-becker.de>
wrote:

> Hi all,
>
> I have been trying to build Ambari from the newest sources following the
> instructions in the Ambari wiki but I seem to be failing in the tests for
> ambari-server.
>
> Here is a snippet from my build log:
>
> ----
>
> Results :
>
> Failed tests:   testRequestURL(org.apache.ambari.server.view.HttpImpersonatorImplTest):
> expected:<[Dummy text from HTTP response]> but was:<[]>
>   testRequestURLWithCustom(org.apache.ambari.server.view.HttpImpersonatorImplTest):
> expected:<[Dummy text from HTTP response]> but was:<[]>
>   testHeartbeatStateCommandsEnqueueing(org.apache.ambari.server.agent.TestHeartbeatMonitor):
> HeartbeatMonitor should be already stopped
>
> Tests in error:
>   testDeadlockBetweenImplementations(org.apache.ambari.server.
> state.cluster.ClusterDeadlockTest): test timed out after 30000
> milliseconds
>   testUpdateRepoUrlController(org.apache.ambari.server.controller.
> AmbariManagementControllerTest): Could not access base url .
> http://public-repo-1.hortonworks.com/HDP-1.1.1.16/repos/centos5 .
> java.net.UnknownHostException: public-repo-1.hortonworks.com
>
> Tests run: 2628, Failures: 3, Errors: 2, Skipped: 15
>
> ----
>
> This is on CentOS 6.5, using the trunk branch. Or is there a defined
> branch that I should check out for a successful build?
>
> Regards,
> Hellmar
>
> ========================================
> Hellmar Becker
> Edmond Audranstraat 55
> NL-3543BG Utrecht
> mail: becker@hellmar-becker.de
> mobile: +31 6 29986670
> ========================================
>
>


-- 
-jun

Mime
View raw message