You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Elliott Clark (JIRA)" <ji...@apache.org> on 2012/05/03 20:08:51 UTC

[jira] [Created] (HBASE-5928) Hbck shouldn't npe when there are no tables.

Elliott Clark created HBASE-5928:
------------------------------------

             Summary: Hbck shouldn't npe when there are no tables.
                 Key: HBASE-5928
                 URL: https://issues.apache.org/jira/browse/HBASE-5928
             Project: HBase
          Issue Type: Bug
            Reporter: Elliott Clark
            Assignee: Elliott Clark
            Priority: Minor


hbase fsck errors out when there are no tables.

Exception in thread "main" java.lang.NullPointerException
	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Jimmy Xiang commented on HBASE-5928:
------------------------------------

+1
                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>         Attachments: HBASE-5928-0.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Jonathan Hsieh updated HBASE-5928:
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.94.1
                   0.96.0
                   0.92.2
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

Thanks Elliott!
                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1, 0.94.0, 0.96.0
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>             Fix For: 0.92.2, 0.96.0, 0.94.1
>
>         Attachments: HBASE-5928-0.patch, HBASE-5928-1.patch, hbase-5928-94.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Todd Lipcon commented on HBASE-5928:
------------------------------------

Why not make it return an empty list instead? Returning null instead of empty collections is just begging for bugs like this.
                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>         Attachments: HBASE-5928-0.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Elliott Clark commented on HBASE-5928:
--------------------------------------

I looped TestAssignmentManager several times locally and it always passes.
                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>         Attachments: HBASE-5928-0.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Jonathan Hsieh updated HBASE-5928:
----------------------------------

    Affects Version/s: 0.96.0
                       0.94.0
                       0.92.1
    
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1, 0.94.0, 0.96.0
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>             Fix For: 0.92.2, 0.96.0, 0.94.1
>
>         Attachments: HBASE-5928-0.patch, HBASE-5928-1.patch, hbase-5928-94.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Jonathan Hsieh commented on HBASE-5928:
---------------------------------------

Elliot, are you willing to make the change in the HBaseFsck#getHTableDescriptors method so that instead of being initialized to null it is initialized to empty array?

For some reason I thought I had modified that method in that exact place to return empty array already in a previous patch. 
                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>         Attachments: HBASE-5928-0.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Elliott Clark updated HBASE-5928:
---------------------------------

    Status: Patch Available  (was: Open)
    
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>         Attachments: HBASE-5928-0.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

stack commented on HBASE-5928:
------------------------------

+1 on patch.

Jon Hsieh?
                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>         Attachments: HBASE-5928-0.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Elliott Clark updated HBASE-5928:
---------------------------------

    Attachment: HBASE-5928-1.patch
    
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>         Attachments: HBASE-5928-0.patch, HBASE-5928-1.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Lars Hofhansl closed HBASE-5928.
--------------------------------

    
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1, 0.94.0, 0.96.0
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>             Fix For: 0.92.2, 0.94.1, 0.96.0
>
>         Attachments: HBASE-5928-0.patch, HBASE-5928-1.patch, hbase-5928-94.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

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

[jira] [Commented] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Hudson commented on HBASE-5928:
-------------------------------

Integrated in HBase-TRUNK #2846 (See [https://builds.apache.org/job/HBase-TRUNK/2846/])
    HBASE-5928 Hbck shouldn't npe when there are no tables (Elliott Clark) (Revision 1333691)

     Result = SUCCESS
jmhsieh : 
Files : 
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java

                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1, 0.94.0, 0.96.0
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>             Fix For: 0.92.2, 0.96.0, 0.94.1
>
>         Attachments: HBASE-5928-0.patch, HBASE-5928-1.patch, hbase-5928-94.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Elliott Clark commented on HBASE-5928:
--------------------------------------

Of course.
                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>         Attachments: HBASE-5928-0.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Comment Edited] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Jonathan Hsieh edited comment on HBASE-5928 at 8/9/12 10:45 PM:
----------------------------------------------------------------

[~nimenkanne] Is it essentially exactly the same error in exactly the same spot?  can you double check to make sure that you didn't accidentally use the wrong jar?
                
      was (Author: jmhsieh):
    [~liuli] Is it essentially exactly the same error in exactly the same spot?  can you double check to make sure that you didn't accidentally use the wrong jar?
                  
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1, 0.94.0, 0.96.0
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>             Fix For: 0.92.2, 0.96.0, 0.94.1
>
>         Attachments: HBASE-5928-0.patch, HBASE-5928-1.patch, hbase-5928-94.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Hadoop QA commented on HBASE-5928:
----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12525489/HBASE-5928-0.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 hadoop23.  The patch compiles against the hadoop 0.23.x profile.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

     -1 core tests.  The patch failed these unit tests:
                       org.apache.hadoop.hbase.master.TestAssignmentManager

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/1748//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/1748//artifact/trunk/patchprocess/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/1748//console

This message is automatically generated.
                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>         Attachments: HBASE-5928-0.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Hudson commented on HBASE-5928:
-------------------------------

Integrated in HBase-0.92 #397 (See [https://builds.apache.org/job/HBase-0.92/397/])
    HBASE-5928 Hbck shouldn't npe when there are no tables (Elliott Clark) (Revision 1333693)

     Result = SUCCESS
jmhsieh : 
Files : 
* /hbase/branches/0.92/CHANGES.txt
* /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
* /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java

                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1, 0.94.0, 0.96.0
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>             Fix For: 0.92.2, 0.96.0, 0.94.1
>
>         Attachments: HBASE-5928-0.patch, HBASE-5928-1.patch, hbase-5928-94.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

liuli commented on HBASE-5928:
------------------------------

Hi Jonathan. Now the environment is being used by others. I will keep in mind, and when I could, I will double check what you said
Yes, I opened a new issue HBASE-6500, if you need, I could close that one and only trace the status here

Anyway, I will keep you posted!
                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1, 0.94.0, 0.96.0
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>             Fix For: 0.92.2, 0.96.0, 0.94.1
>
>         Attachments: HBASE-5928-0.patch, HBASE-5928-1.patch, hbase-5928-94.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Hadoop QA commented on HBASE-5928:
----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12525529/HBASE-5928-1.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 hadoop23.  The patch compiles against the hadoop 0.23.x profile.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in .

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/1754//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/1754//artifact/trunk/patchprocess/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/1754//console

This message is automatically generated.
                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>         Attachments: HBASE-5928-0.patch, HBASE-5928-1.patch, hbase-5928-94.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Jonathan Hsieh updated HBASE-5928:
----------------------------------

    Attachment: hbase-5928-94.patch

-94 version applies to 0.92 and 0.94
                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>         Attachments: HBASE-5928-0.patch, HBASE-5928-1.patch, hbase-5928-94.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Jonathan Hsieh commented on HBASE-5928:
---------------------------------------

[~nimenkanne] Did you open a new issue, HBASE-6500, to address your 02/Aug/12 02:21 comment?
                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1, 0.94.0, 0.96.0
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>             Fix For: 0.92.2, 0.96.0, 0.94.1
>
>         Attachments: HBASE-5928-0.patch, HBASE-5928-1.patch, hbase-5928-94.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Elliott Clark commented on HBASE-5928:
--------------------------------------

Mainly I did this because changing behavior of HBaseAdmin.getTableDescriptors seemed like it might break anyone who expects null to mean no tables.  However if a breaking change is ok it's a pretty easy change.
                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>         Attachments: HBASE-5928-0.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Todd Lipcon commented on HBASE-5928:
------------------------------------

Seems innocuous enough to me... any other opinions?
                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>         Attachments: HBASE-5928-0.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Hudson commented on HBASE-5928:
-------------------------------

Integrated in HBase-TRUNK-security #191 (See [https://builds.apache.org/job/HBase-TRUNK-security/191/])
    HBASE-5928 Hbck shouldn't npe when there are no tables (Elliott Clark) (Revision 1333691)

     Result = SUCCESS
jmhsieh : 
Files : 
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java

                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1, 0.94.0, 0.96.0
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>             Fix For: 0.92.2, 0.96.0, 0.94.1
>
>         Attachments: HBASE-5928-0.patch, HBASE-5928-1.patch, hbase-5928-94.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Hudson commented on HBASE-5928:
-------------------------------

Integrated in HBase-0.92-security #106 (See [https://builds.apache.org/job/HBase-0.92-security/106/])
    HBASE-5928 Hbck shouldn't npe when there are no tables (Elliott Clark) (Revision 1333693)

     Result = SUCCESS
jmhsieh : 
Files : 
* /hbase/branches/0.92/CHANGES.txt
* /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
* /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java

                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1, 0.94.0, 0.96.0
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>             Fix For: 0.92.2, 0.96.0, 0.94.1
>
>         Attachments: HBASE-5928-0.patch, HBASE-5928-1.patch, hbase-5928-94.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Hudson commented on HBASE-5928:
-------------------------------

Integrated in HBase-0.94 #177 (See [https://builds.apache.org/job/HBase-0.94/177/])
    HBASE-5928 Hbck shouldn't npe when there are no tables (Elliott Clark) (Revision 1333692)

     Result = SUCCESS
jmhsieh : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java

                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1, 0.94.0, 0.96.0
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>             Fix For: 0.92.2, 0.96.0, 0.94.1
>
>         Attachments: HBASE-5928-0.patch, HBASE-5928-1.patch, hbase-5928-94.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Hudson commented on HBASE-5928:
-------------------------------

Integrated in HBase-0.94-security #26 (See [https://builds.apache.org/job/HBase-0.94-security/26/])
    HBASE-5928 Hbck shouldn't npe when there are no tables (Elliott Clark) (Revision 1333692)

     Result = SUCCESS
jmhsieh : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java

                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1, 0.94.0, 0.96.0
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>             Fix For: 0.92.2, 0.96.0, 0.94.1
>
>         Attachments: HBASE-5928-0.patch, HBASE-5928-1.patch, hbase-5928-94.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Jonathan Hsieh commented on HBASE-5928:
---------------------------------------

[~liuli] Is it essentially exactly the same error in exactly the same spot?  can you double check to make sure that you didn't accidentally use the wrong jar?
                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1, 0.94.0, 0.96.0
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>             Fix For: 0.92.2, 0.96.0, 0.94.1
>
>         Attachments: HBASE-5928-0.patch, HBASE-5928-1.patch, hbase-5928-94.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

liuli commented on HBASE-5928:
------------------------------

I have apply the patch, but I still meet the same question

The version is :

Hadoop 0.20.205.0
Zookeeper: zookeeper-3.3.5.jar
Hbase: hbase-0.94.0

If you need any log, let me know
                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1, 0.94.0, 0.96.0
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>             Fix For: 0.92.2, 0.96.0, 0.94.1
>
>         Attachments: HBASE-5928-0.patch, HBASE-5928-1.patch, hbase-5928-94.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5928) Hbck shouldn't npe when there are no tables.

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

Elliott Clark updated HBASE-5928:
---------------------------------

    Attachment: HBASE-5928-0.patch

Pretty small patch.
HConnectionManager.getHTableDescriptors returns null when there are no tables.

I assumed this was expected so handling the null is needed.
                
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>         Attachments: HBASE-5928-0.patch
>
>
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira