hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-3728) NPE in HTablePool.closeTablePool
Date Mon, 04 Apr 2011 14:00:06 GMT

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

Ted Yu updated HBASE-3728:
--------------------------

    Attachment: 3728.txt

Added null check for queue

> NPE in HTablePool.closeTablePool
> --------------------------------
>
>                 Key: HBASE-3728
>                 URL: https://issues.apache.org/jira/browse/HBASE-3728
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.90.1
>            Reporter: Andruschuk Borislav
>            Assignee: Ted Yu
>            Priority: Minor
>         Attachments: 3728.txt
>
>
> When I use HTablePool and try to close it on application shutdown I've got NPE calling
closeTablePool method because I didn't borrow any tables with the given name. Could you please
add a null check for queue in closeTablePool or add ability to get all table names used in
a pool or just add a destroy method to close all existed table in a pool.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message