hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "liang xie (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5076) HBase shell hangs when creating some 'illegal' tables.
Date Tue, 28 Aug 2012 12:52:07 GMT

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

liang xie commented on HBASE-5076:
----------------------------------

BTW,this hang issue will introduce INCONSISTENT status :


12/08/28 20:48:50 DEBUG util.HBaseFsck: Loading region dirs from hdfs://10.235.2.121:9000/hbase/-ROOT-
12/08/28 20:48:50 DEBUG util.HBaseFsck: Loading region dirs from hdfs://10.235.2.121:9000/hbase/.META.
12/08/28 20:48:50 DEBUG util.HBaseFsck: Loading region dirs from hdfs://10.235.2.121:9000/hbase/.logs
12/08/28 20:48:50 DEBUG util.HBaseFsck: Loading region dirs from hdfs://10.235.2.121:9000/hbase/.oldlogs
12/08/28 20:48:50 DEBUG util.HBaseFsck: Loading region dirs from hdfs://10.235.2.121:9000/hbase/hbase.id
12/08/28 20:48:50 DEBUG util.HBaseFsck: Loading region dirs from hdfs://10.235.2.121:9000/hbase/splitlog
12/08/28 20:48:50 DEBUG util.HBaseFsck: Loading region info from hdfs:hdfs://10.235.2.121:9000/hbase/-ROOT-/70236052
12/08/28 20:48:50 DEBUG util.HBaseFsck: Loading region info from hdfs:hdfs://10.235.2.121:9000/hbase/.META./1028785192
12/08/28 20:48:50 DEBUG util.HBaseFsck: Loading region info from hdfs:hdfs://10.235.2.121:9000/hbase/splitlog/6c35fbf061ec3d56c6c120fdb502f35e
12/08/28 20:48:51 DEBUG util.HBaseFsck: HRegionInfo read: {NAME => '-ROOT-,,0', STARTKEY
=> '', ENDKEY => '', ENCODED => 70236052,}
12/08/28 20:48:51 DEBUG util.HBaseFsck: HRegionInfo read: {NAME => '.META.,,1', STARTKEY
=> '', ENDKEY => '', ENCODED => 1028785192,}
12/08/28 20:48:51 DEBUG util.HBaseFsck: HRegionInfo read: {NAME => 'splitlog,,1346156147925.6c35fbf061ec3d56c6c120fdb502f35e.',
STARTKEY => '', ENDKEY => '', ENCODED => 6c35fbf061ec3d56c6c120fdb502f35e,}
Number of empty REGIONINFO_QUALIFIER rows in .META.: 0
ERROR: Region { meta => splitlog,,1346156147925.6c35fbf061ec3d56c6c120fdb502f35e., hdfs
=> hdfs://10.235.2.121:9000/hbase/splitlog/6c35fbf061ec3d56c6c120fdb502f35e, deployed =>
 } not deployed on any region server.
12/08/28 20:48:51 DEBUG util.HBaseFsck: There are 3 region info entries
Summary:
  -ROOT- is okay.
    Number of regions: 1
    Deployed on:  ha2,60020,1346158063508
  .META. is okay.
    Number of regions: 1
    Deployed on:  ha2,60020,1346158063508
1 inconsistencies detected.
Status: INCONSISTENT
[root@xiaomi hbase]# 
                
> HBase shell hangs when creating some 'illegal' tables.
> ------------------------------------------------------
>
>                 Key: HBASE-5076
>                 URL: https://issues.apache.org/jira/browse/HBASE-5076
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 0.92.0
>            Reporter: Jonathan Hsieh
>            Priority: Minor
>
> In hbase shell. These commands hang:
> {code}
> create 'hbase.version','foo'
> create 'splitlog','foo'
> {code}
> Interestingly
> {code}
> create 'hbase.id','foo'
> create existingtablename, 'foo'
> create '.META.','foo'
> create '-ROOT-','foo'
> {code}
> are properly rejected.
> We should probably either rename to make the files illegal table names (hbase.version
to .hbase.version and splitlog to .splitlog) or we could add more special cases.

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

Mime
View raw message