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 493259C63 for ; Fri, 22 Jun 2012 19:50:43 +0000 (UTC) Received: (qmail 9764 invoked by uid 500); 22 Jun 2012 19:50:43 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 9663 invoked by uid 500); 22 Jun 2012 19:50:43 -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 9644 invoked by uid 99); 22 Jun 2012 19:50:43 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jun 2012 19:50:43 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id E0E4F141F4C for ; Fri, 22 Jun 2012 19:50:42 +0000 (UTC) Date: Fri, 22 Jun 2012 19:50:42 +0000 (UTC) From: "Zhihong Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: <278215697.45129.1340394642924.JavaMail.jiratomcat@issues-vm> In-Reply-To: <114570579.28001.1340071002485.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HBASE-6236) Offline meta repair fails if the HBase base mount point is on a different cluster/volume than its parent in a ViewFS or similar FS 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-6236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13399543#comment-13399543 ] Zhihong Ted Yu commented on HBASE-6236: --------------------------------------- Patch integrated to trunk. > Offline meta repair fails if the HBase base mount point is on a different cluster/volume than its parent in a ViewFS or similar FS > ---------------------------------------------------------------------------------------------------------------------------------- > > Key: HBASE-6236 > URL: https://issues.apache.org/jira/browse/HBASE-6236 > Project: HBase > Issue Type: Bug > Components: hbck > Reporter: Aditya Kishore > Assignee: Aditya Kishore > Fix For: 0.96.0, 0.94.1 > > Attachments: 6236_trunk.patch, HBASE-6236_94.patch, HBASE-6236_trunk.patch, HBASE-6236_trunk.patch > > > While building the .META. and -ROOT- from FS data alone (HBASE-4377), hbck tries to move the existing .META. and -ROOT- directories to a backup folder. > This backup folder is created at the same level as the base HBase folder (e.g. /hbase-xxxxxx if the base HBase folder is '/hbase'). > In a federated HDFS like ViewFS and other similar FS implementations, it is not possible to rename files/directories across namespace volumes (ViewFS guide section 3.5) and as a result hbck crashes. > A solution to this problem is to create the backup directory under the folder where HBase base folder has been mounted. This ensures that source and destination of rename operation are on the same namespace volume. > Patch for 0.94 and trunk is attached for review. The patch modifies the location of the backup directory from '/hbase-xxxxxxx' to '/hbase/.hbcktmp-xxxxxxx' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira