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

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

     [ https://issues.apache.org/jira/browse/PHOENIX-2594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samarth Jain resolved PHOENIX-2594.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 4.7.0

> 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
>             Fix For: 4.7.0
>
>         Attachments: PHOENIX-2594.patch
>
>
> 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)