[ 
https://issues.apache.org/jira/browse/HBASE-7369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13545213#comment-13545213
 ] 

Ted Yu commented on HBASE-7369:
-------------------------------

The above test failures seem to tell us something.
e.g. I got the following based on patch v4:
{code}
org.apache.hadoop.hbase.security.access.TestTablePermissions  Time elapsed: 
217,171.39 sec  <<< ERROR!
org.apache.hadoop.hbase.MasterNotRunningException: Connection was closed while 
trying to get master
  at 
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.createMasterWithRetries(HConnectionManager.java:793)
  at 
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getKeepAliveMasterProtocol(HConnectionManager.java:1622)
  at 
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getKeepAliveMasterAdmin(HConnectionManager.java:1648)
  at org.apache.hadoop.hbase.client.HBaseAdmin.execute(HBaseAdmin.java:2107)
  at 
org.apache.hadoop.hbase.client.HBaseAdmin.createTableAsync(HBaseAdmin.java:498)
  at org.apache.hadoop.hbase.client.HBaseAdmin.createTable(HBaseAdmin.java:391)
  at org.apache.hadoop.hbase.client.HBaseAdmin.createTable(HBaseAdmin.java:327)
  at 
org.apache.hadoop.hbase.HBaseTestingUtility.createTable(HBaseTestingUtility.java:977)
  at 
org.apache.hadoop.hbase.HBaseTestingUtility.createTable(HBaseTestingUtility.java:945)
  at 
org.apache.hadoop.hbase.HBaseTestingUtility.createTable(HBaseTestingUtility.java:933)
  at 
org.apache.hadoop.hbase.security.access.TestTablePermissions.beforeClass(TestTablePermissions.java:101)
{code}

                
> HConnectionManager should remove aborted connections
> ----------------------------------------------------
>
>                 Key: HBASE-7369
>                 URL: https://issues.apache.org/jira/browse/HBASE-7369
>             Project: HBase
>          Issue Type: Improvement
>          Components: Client
>    Affects Versions: 0.94.3
>            Reporter: Bryan Baugher
>            Priority: Minor
>         Attachments: HBASE-7369_HCM-remove-aborted-cnxs-2.txt, 
> HBASE-7369_HCM-remove-aborted-cnxs-3.txt, 
> HBASE-7369_HCM-remove-aborted-cnxs-4.txt, 
> HBASE-7369_HCM-remove-aborted-cnxs.txt, patch2.diff, patch3.diff, patch.diff
>
>
> When an HConnection is abort()'ed (i.e. if numerous services are lost) the 
> connection becomes unusable. HConnectionManager cache of HConnections 
> currently does not have any logic around removing aborted connections 
> automatically. Currently it is up to the consumer to do so using 
> HConnectionManager.deleteStaleConnection(HConnection).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to