phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samarth Jain (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-2594) ScannerLeaseRenewalIT fails if HBase is running locally
Date Wed, 13 Jan 2016 22:22:39 GMT

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

Samarth Jain updated PHOENIX-2594:
----------------------------------
    Attachment: PHOENIX-2594.patch

This was happening because we weren't setting the master info port to -1. Using the default
test config fixes it. 

[~jamestaylor] - please review.

> 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
>         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)

Mime
View raw message