Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E439010CEF for ; Tue, 27 Aug 2013 00:53:51 +0000 (UTC) Received: (qmail 3788 invoked by uid 500); 27 Aug 2013 00:53:51 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 3728 invoked by uid 500); 27 Aug 2013 00:53:51 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 3720 invoked by uid 99); 27 Aug 2013 00:53:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Aug 2013 00:53:51 +0000 Date: Tue, 27 Aug 2013 00:53:51 +0000 (UTC) From: "Jean-Marc Spaggiari (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9346) HBCK should provide an option to check if regions boundaries are the same in META and in stores. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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