hbase-issues mailing list archives

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

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

Ashish Singhi commented on HBASE-13818:
---------------------------------------

Hey [~kukuzidian]
bq. split 'sdb,\x00\x00+Ug\xD60\x00\x00\x01\x00\x10\xC0,1432909366893.6b601fa4eb9e1244d049bde93e340736.'
Is the argument passed is the row key of a column in meta table ? if yes, can you just try
{{split '6b601fa4eb9e1244d049bde93e340736'}} and see if it works for you.

> 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