hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HBASE-2561) Scanning .META. while split in progress yields IllegalArgumentException
Date Wed, 19 May 2010 04:36:53 GMT

     [ https://issues.apache.org/jira/browse/HBASE-2561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

stack resolved HBASE-2561.
--------------------------

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

I tried it.  Scan still works.  Committing.  Unit test is kinda hard to do in here.  You could
do standalone but patch looks like it does the job and its small change.

> Scanning .META. while split in progress yields IllegalArgumentException
> -----------------------------------------------------------------------
>
>                 Key: HBASE-2561
>                 URL: https://issues.apache.org/jira/browse/HBASE-2561
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.21.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>             Fix For: 0.21.0
>
>         Attachments: hbase-2561.txt
>
>
> Running scan '.META.' from the shell throws IllegalArgumentException if a split is running
at the same time:
> hbase(main):004:0> scan '.META.'
> ROW                          COLUMN+CELL                                            
                         
>  VerifiableEditor,,127414503 column=info:regioninfo, timestamp=1274145178356, value=REGION
=> {NAME => 'Verifi
>  3318                        ableEditor,,1274145033318', STARTKEY => '', ENDKEY =>
'-1942612687<1274143362177>
>                              ', ENCODED => 1741581486, OFFLINE => true, SPLIT =>
true, TABLE => {{NAME => 'Ver
>                              ifiableEditor', FAMILIES => [{NAME => 'info', REPLICATION_SCOPE
=> '0', COMPRESSI
>                              ON => 'NONE', VERSIONS => '3', TTL => '2147483647',
BLOCKSIZE => '65536', IN_MEMO
>                              RY => 'false', BLOCKCACHE => 'true'}]}}          
                               
>  VerifiableEditor,,127414503 column=info:server, timestamp=1274145178356, value=    
                         
>  3318                                                                               
                         
> ERROR: java.lang.IllegalArgumentException: offset (0) + length (8) exceed the capacity
of the array: 0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message