You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2016/01/13 19:59:39 UTC

[jira] [Created] (PHOENIX-2594) ScannerLeaseRenewalIT fails if HBase is running locally

James Taylor created PHOENIX-2594:
-------------------------------------

             Summary: ScannerLeaseRenewalIT fails if HBase is running locally
                 Key: PHOENIX-2594
                 URL: https://issues.apache.org/jira/browse/PHOENIX-2594
             Project: Phoenix
          Issue Type: Bug
            Reporter: James Taylor
            Assignee: Samarth Jain


If I have HBase running when I run the unit tests, I'm seeing the following failure:
{code}
org.apache.phoenix.iterate.ScannerLeaseRenewalIT  Time elapsed: 0.004 sec  <<< ERROR!
java.io.IOException: Shutting down
	at org.apache.phoenix.iterate.ScannerLeaseRenewalIT.setUp(ScannerLeaseRenewalIT.java:68)
Caused by: java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMasterAddress already in use
	at org.apache.phoenix.iterate.ScannerLeaseRenewalIT.setUp(ScannerLeaseRenewalIT.java:68)
Caused by: java.net.BindException: Port in use: 0.0.0.0:16010
	at org.apache.phoenix.iterate.ScannerLeaseRenewalIT.setUp(ScannerLeaseRenewalIT.java:68)
Caused by: java.net.BindException: Address already in use
	at org.apache.phoenix.iterate.ScannerLeaseRenewalIT.setUp(ScannerLeaseRenewalIT.java:68)
{code}

We'll want to isolate the port used in our tests to prevent this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)