You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by Ernie Ostic <eo...@us.ibm.com> on 2016/06/27 09:05:05 UTC

Atlas .7 build fails at the repository step: HMasterCannot assign requested address


Hi Everyone...

Trying to get the build to work, in this case on a redhat machine, and
after reviewing various threads and increasing heap size to 1.5G and moving
to a faster disk.....that resolved some of the earlier errors, but the
build still continues to fail at this part of the repository step:


Running org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryTest
Tests run: 6, Failures: 4, Errors: 0, Skipped: 2, Time elapsed: 1.425 sec
<<< FAILURE! - in
org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryTest
setup(org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryTest)
Time elapsed: 1.383 sec  <<< FAILURE!
java.lang.RuntimeException: Failed construction of Master: class
org.apache.hadoop.hbase.master.HMasterCannot assign requested address
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind
(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.apache.hadoop.hbase.ipc.RpcServer.bind(RpcServer.java:2495)
at org.apache.hadoop.hbase.ipc.RpcServer$Listener.<init>
(RpcServer.java:580)
at org.apache.hadoop.hbase.ipc.RpcServer.<init>(RpcServer.java:1982)
at org.apache.hadoop.hbase.regionserver.RSRpcServices.<init>
(RSRpcServices.java:863)
at org.apache.hadoop.hbase.master.MasterRpcServices.<init>
(MasterRpcServices.java:210)
.
.
.

Currently I am looking in the environment to see what ports might be in use
or in conflict, but open to all ideas.....Thank you in advance for any
thoughts on debugging this scenario.

Ernie






Ernie Ostic

WW Product Specialist, Information Server
IBM Analytics
Cell: (617) 331 8238
---------------------------------------------------------------
Open IGC is here!

Extend the Catalog with custom objects and lineage definitions!
https://dsrealtime.wordpress.com/2015/07/29/open-igc-is-here/

Re: Atlas .7 build fails at the repository step: HMasterCannot assign requested address

Posted by Dave Kantor <dk...@us.ibm.com>.
Hi Ernie,

Not sure why this is happening on your system and not others who have
tested 0.7, but to work around this issue, add -DskipTests to your mvn
command line to avoid running the failing test (and all other tests).

Regards,
Dave

David Kantor
IBM Software Group
Phone: 978-899-2072 (T/L: 276-2072)
Email: dkantor@us.ibm.com



From:	Ernie Ostic/Newark/IBM@IBMUS
To:	atlas <de...@atlas.incubator.apache.org>
Date:	06/27/2016 05:05 AM
Subject:	Atlas .7 build fails at the repository step:   HMasterCannot
            assign requested address





Hi Everyone...

Trying to get the build to work, in this case on a redhat machine, and
after reviewing various threads and increasing heap size to 1.5G and moving
to a faster disk.....that resolved some of the earlier errors, but the
build still continues to fail at this part of the repository step:


Running org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryTest
Tests run: 6, Failures: 4, Errors: 0, Skipped: 2, Time elapsed: 1.425 sec
<<< FAILURE! - in
org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryTest
setup(org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryTest)
Time elapsed: 1.383 sec  <<< FAILURE!
java.lang.RuntimeException: Failed construction of Master: class
org.apache.hadoop.hbase.master.HMasterCannot assign requested address
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind
(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.apache.hadoop.hbase.ipc.RpcServer.bind(RpcServer.java:2495)
at org.apache.hadoop.hbase.ipc.RpcServer$Listener.<init>
(RpcServer.java:580)
at org.apache.hadoop.hbase.ipc.RpcServer.<init>(RpcServer.java:1982)
at org.apache.hadoop.hbase.regionserver.RSRpcServices.<init>
(RSRpcServices.java:863)
at org.apache.hadoop.hbase.master.MasterRpcServices.<init>
(MasterRpcServices.java:210)
.
.
.

Currently I am looking in the environment to see what ports might be in use
or in conflict, but open to all ideas.....Thank you in advance for any
thoughts on debugging this scenario.

Ernie






Ernie Ostic

WW Product Specialist, Information Server
IBM Analytics
Cell: (617) 331 8238
---------------------------------------------------------------
Open IGC is here!

Extend the Catalog with custom objects and lineage definitions!
https://dsrealtime.wordpress.com/2015/07/29/open-igc-is-here/