hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Marc Spaggiari (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9346) HBCK should provide an option to check if regions boundaries are the same in META and in stores.
Date Tue, 27 Aug 2013 00:53:51 GMT

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

Jean-Marc Spaggiari commented on HBASE-9346:
--------------------------------------------

OK. Seems to be working fine in 0.94. Did some cleanup. I will merge that to Trunk and upload
a patch. 
{code}
hbase@node3:~/hbase-0.94.3$ bin/hbase hbck -boundaries
Version: 0.94.12-SNAPSHOT

Number of Tables: 12
Number of live region servers: 8
Number of dead region servers: 0
Master: node3,60000,1377564568492
Number of backup masters: 0
.Number of empty REGIONINFO_QUALIFIER rows in .META.: 0
13/08/26 20:51:09 WARN snappy.LoadSnappy: Snappy native library is available
ERROR: Found issues with regions boundaries
13/08/26 20:51:12 WARN util.HBaseFsck: Region's boundaries not alligned between stores and
META for:
13/08/26 20:51:12 WARN util.HBaseFsck: regionName=work_proposed,\xF5\x9A\xEA&\x00\x00\x00\x00http://video.mindentimes.ca/search/all/source/qmi-agency/kanye-west-spending-100000-on-private-flights-to-see-pregnant-kim-kardashian/2319156767001/page/16,1376139517597.b39bf00b980b632901859761caafb9d0.
metaFirstKey=\xF5\x9A\xEA&\x00\x00\x00\x00http://video.mindentimes.ca/search/all/source/qmi-agency/kanye-west-spending-100000-on-private-flights-to-see-pregnant-kim-kardashian/2319156767001/page/16
metaLastKey=\xF5\x9B@}\x00\x00\x00\x00http://fr.video.sympatico.ca/accueil/les-plus-populaires/watch/kim-kardashian-rit-des-rumeurs-dinfidelite/2477090497001?sort=date&filter=Splash&page=5
storesFirstKey=\xF5\x9A\xEA&\x00\x00\x00\x00http://video.mindentimes.ca/search/all/source/qmi-agency/kanye-west-spending-100000-on-private-flights-to-see-pregnant-kim-kardashian/2319156767001/page/16
storesLastKey=\xFF\xFF\xFF\xFE\x00\x00\x00\x00http://www.vosclassees.ca/classifieds/-louer/search?p=204&search_type=advanced&filter_recity[cote_saint-luc]=cote_saint-luc&filter_recity[palmerston]=palmerston&filter_recity[richmond_hill]=richmond_hill&filter_recity[thornton]=thornton&filter_recity[new_hamburg]=new_hamburg&filter_recity[shawville]=shawville&filter_recity[kinburn]=kinburn&filter_recity[meaford]=meaford&filter_recity[vancouver]=vancouver&filter_rebathrooms[3]=3
Summary:
  -ROOT- is okay.
    Number of regions: 1
    Deployed on:  node1,60020,1377564571051
  .META. is okay.
    Number of regions: 1
    Deployed on:  node4,60020,1377564570444
  page_proposed is okay.
    Number of regions: 16
    Deployed on:  buldo,60020,1377564571796 node1,60020,1377564571051 node2,60020,1377564571148
node3,60020,1377564569683 node4,60020,1377564570444 node5,60020,1377564564289 node6,60020,1377564570922
node7,60020,1377564570466
  tree is okay.
    Number of regions: 1
    Deployed on:  node3,60020,1377564569683
Table work_proposed is inconsistent.
    Number of regions: 150
    Deployed on:  buldo,60020,1377564571796 node1,60020,1377564571051 node2,60020,1377564571148
node3,60020,1377564569683 node4,60020,1377564570444 node5,60020,1377564564289 node6,60020,1377564570922
node7,60020,1377564570466
  work_sent is okay.
    Number of regions: 16
    Deployed on:  buldo,60020,1377564571796 node1,60020,1377564571051 node2,60020,1377564571148
node3,60020,1377564569683 node4,60020,1377564570444 node5,60020,1377564564289 node6,60020,1377564570922
node7,60020,1377564570466
1 inconsistencies detected.
Status: INCONSISTENT
{code}
                
> HBCK should provide an option to check if regions boundaries are the same in META and
in stores.
> ------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-9346
>                 URL: https://issues.apache.org/jira/browse/HBASE-9346
>             Project: HBase
>          Issue Type: Bug
>          Components: hbck
>    Affects Versions: 0.95.2, 0.94.11
>            Reporter: Jean-Marc Spaggiari
>            Assignee: Jean-Marc Spaggiari
>         Attachments: HBASE-9346-v0-0.94.patch
>
>
> If META don't have the same region boundaries as the stores files, writes and read might
go to the wrong place. We need to provide a way to check that withing HBCK.

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