hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhangjg (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-13818) manual region split from HBase shell, I found that split command acts incorrectly with hex split keys
Date Mon, 01 Jun 2015 03:54:17 GMT
zhangjg created HBASE-13818:
-------------------------------

             Summary: manual region split from HBase shell, I found that split command acts
incorrectly with hex split keys
                 Key: HBASE-13818
                 URL: https://issues.apache.org/jira/browse/HBASE-13818
             Project: HBase
          Issue Type: Bug
          Components: shell
    Affects Versions: 0.96.2
            Reporter: zhangjg


manual region split from HBase shell, I found that split command acts incorrectly with hex
split keys

hbase(main):001:0> split 'sdb,"\x00\x00+Ug\xD60\x00\x00\x01\x00\x10\xC0",1432909366893.6b601fa4eb9e1244d049bde93e340736.'
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/data/xiaoju/hbase-0.96.2-hadoop2/lib/phoenix-4.1.0-client-hadoop2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/data/xiaoju/hbase-0.96.2-hadoop2/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/data/xiaoju/hadoop-2.2.0/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
2015-06-01 11:40:46,986 WARN  [main] util.NativeCodeLoader: Unable to load native-hadoop library
for your platform... using builtin-java classes where applicable

ERROR: Illegal character code:44, <,> at 3. User-space table qualifiers can only contain
'alphanumeric characters': i.e. [a-zA-Z_0-9-.]: sdb,"\x00\x00+Ug\xD60\x00\x00\x01\x00\x10\xC0",1432909366893.6b601fa4eb9e1244d049bde93e340736.

Here is some help for this command:
Split entire table or pass a region to split individual region.  With the 
second parameter, you can specify an explicit split key for the region.  
Examples:
    split 'tableName'
    split 'namespace:tableName'
    split 'regionName' # format: 'tableName,startKey,id'
    split 'tableName', 'splitKey'
    split 'regionName', 'splitKey'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message