You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andruschuk Borislav (JIRA)" <ji...@apache.org> on 2011/04/04 08:42:05 UTC

[jira] [Created] (HBASE-3728) NPE in HTablePool.closeTablePool

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
            Priority: Minor


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

[jira] [Updated] (HBASE-3728) NPE in HTablePool.closeTablePool

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
     [ 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

[jira] [Resolved] (HBASE-3728) NPE in HTablePool.closeTablePool

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-3728.
--------------------------

       Resolution: Fixed
    Fix Version/s: 0.92.0
     Hadoop Flags: [Reviewed]

Committed. Thanks for the patch Ted.

> 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
>             Fix For: 0.92.0
>
>         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

[jira] [Assigned] (HBASE-3728) NPE in HTablePool.closeTablePool

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu reassigned HBASE-3728:
-----------------------------

    Assignee: Ted Yu

> 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

[jira] [Commented] (HBASE-3728) NPE in HTablePool.closeTablePool

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016237#comment-13016237 ] 

Hudson commented on HBASE-3728:
-------------------------------

Integrated in HBase-TRUNK #1831 (See [https://hudson.apache.org/hudson/job/HBase-TRUNK/1831/])
    

> 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
>             Fix For: 0.92.0
>
>         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