You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Luke Forehand (JIRA)" <ji...@apache.org> on 2010/08/16 22:59:19 UTC

[jira] Commented: (HBASE-7) [hbase] Provide a HBase checker and repair tool similar to fsck

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

Luke Forehand commented on HBASE-7:
-----------------------------------

I just ran this utility on our corrupt META table and got this exception:

Exception in thread "main" java.io.IOException: Two entries in META are same REGION => {NAME => 'feedData,20100717 0463ff1d352930dc354f35358d3d11997c2fa050,1281549071340.d905798b9e7dca1c24a09a908bd1081c.', STARTKEY => '20100717 0463ff1d352930dc354f35358d3d11997c2fa050', ENDKEY => '20100717 25beb50790d72e3e2bf1fbebc0656dbcd82cdbd3', ENCODED => d905798b9e7dca1c24a09a908bd1081c, TABLE => {{NAME => 'feedData', FAMILIES => [{NAME => 'core', BLOOMFILTER => 'NONE', REPLICATION_SCOPE => '0', COMPRESSION => 'LZO', VERSIONS => '3', TTL => '2147483647', BLOCKSIZE => '131072', IN_MEMORY => 'false', BLOCKCACHE => 'true'}, {NAME => 'tf', BLOOMFILTER => 'NONE', REPLICATION_SCOPE => '0', COMPRESSION => 'LZO', VERSIONS => '3', TTL => '2147483647', BLOCKSIZE => '131072', IN_MEMORY => 'false', BLOCKCACHE => 'true'}, {NAME => 'tfidf', BLOOMFILTER => 'NONE', REPLICATION_SCOPE => '0', COMPRESSION => 'LZO', VERSIONS => '3', TTL => '2147483647', BLOCKSIZE => '131072', IN_MEMORY => 'false', BLOCKCACHE => 'true'}]}}
	at org.apache.hadoop.hbase.client.HBaseFsck$1.processRow(HBaseFsck.java:420)
	at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:156)
	at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:68)
	at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:53)
	at com.ni.ods.hadoop.utils.HBaseFsck.getMetaEntries(HBaseFsck.java:435)
	at com.ni.ods.hadoop.utils.HBaseFsck.doWork(HBaseFsck.java:109)
	at com.ni.ods.hadoop.utils.HBaseFsck.main(HBaseFsck.java:522)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:186)


> [hbase] Provide a HBase checker and repair tool similar to fsck
> ---------------------------------------------------------------
>
>                 Key: HBASE-7
>                 URL: https://issues.apache.org/jira/browse/HBASE-7
>             Project: HBase
>          Issue Type: New Feature
>          Components: util
>            Reporter: Jim Kellerman
>            Assignee: dhruba borthakur
>             Fix For: 0.90.0
>
>         Attachments: add_region.rb, check_meta.rb, check_meta.rb, HBASE-7.patch, hbase.fsck1.txt, HBaseConfiguration.java, HBaseFsck.java, patch.txt
>
>
> We need a tool to verify (and repair) HBase much like fsck

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