[
https://issues.apache.org/jira/browse/HBASE-3074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack updated HBASE-3074:
-------------------------
Attachment: 3074.txt
Tests were sharing an HCM. First test was expiring it. HCMs were proceeding
though ZKW had expired; was just serving stale data. On expiration, the HCM
actually gets an abort but we do nothing but log currently. Now we'll set an
actually unused 'closed' flag.
The first TZ test was also doing nothing. Changed it to assert connection
closed. Also corralled this session expiring test making sure the connection
used herein will not be used elsewhere (by making a new Configuration instance).
I'm going to commit. Hopefully fixes ZK up on hudson. MIght break something
else though, but probably something we want to break because its reliant on
flakey stale data to run.
> Zookeeper test failing on hudson
> --------------------------------
>
> Key: HBASE-3074
> URL: https://issues.apache.org/jira/browse/HBASE-3074
> Project: HBase
> Issue Type: Bug
> Reporter: stack
> Attachments: 3074-xtra-debug.txt, 3074.txt
>
>
> We're failing here because .META. moved:
> {code}
> retrying after sleep of 5000 because: Connection refused
> 2010-10-02 00:50:49,728 DEBUG [main]
> client.HConnectionManager$HConnectionImplementation(717): locateRegionInMeta
> attempt 2 of 4 failed; retrying after sleep of 5000 because: Connection
> refused
> 2010-10-02 00:50:59,730 DEBUG [main]
> client.HConnectionManager$HConnectionImplementation(717): locateRegionInMeta
> attempt 0 of 4 failed; retrying after sleep of 5000 because: Connection
> refused
> 2010-10-02 00:51:04,731 DEBUG [main]
> client.HConnectionManager$HConnectionImplementation(717): locateRegionInMeta
> attempt 1 of 4 failed; retrying after sleep of 5000 because: Connection
> refused
> 2010-10-02 00:51:09,732 DEBUG [main]
> client.HConnectionManager$HConnectionImplementation(717): locateRegionInMeta
> attempt 2 of 4 failed; retrying after sleep of 5000 because: Connection
> refused
> 2010-10-02 00:51:14,734 WARN [main]
> client.HConnectionManager$HConnectionImplementation(597): Encounted problems
> when prefetch META table:
> org.apache.hadoop.hbase.client.RetriesExhaustedException: Trying to contact
> region server vesta.apache.org:54172 for region .META.,,1, row
> 'test1285980613475,,99999999999999', but failed after 4 attempts.
> Exceptions:
> java.net.ConnectException: Connection refused
> java.net.ConnectException: Connection refused
> java.net.ConnectException: Connection refused
> java.net.ConnectException: Connection refused
> at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getRegionServerWithRetries(HConnectionManager.java:946)
> at org.apache.hadoop.hbase.client.HTable.getRowOrBefore(HTable.java:500)
> at
> org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:104)
> at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.prefetchRegionCache(HConnectionManager.java:594)
> at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:645)
> at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:539)
> at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:507)
> at
> org.apache.hadoop.hbase.client.HBaseAdmin.createTable(HBaseAdmin.java:287)
> at
> org.apache.hadoop.hbase.client.HBaseAdmin.createTable(HBaseAdmin.java:207)
> at
> org.apache.hadoop.hbase.TestZooKeeper.testSanity(TestZooKeeper.java:140)
> ...
> {code}
> I'm not sure why we're not picking up new locations.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.