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 65F4211618 for ; Thu, 10 Jul 2014 03:42:05 +0000 (UTC) Received: (qmail 33222 invoked by uid 500); 10 Jul 2014 03:42:05 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 33171 invoked by uid 500); 10 Jul 2014 03:42:05 -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 33148 invoked by uid 99); 10 Jul 2014 03:42:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2014 03:42:04 +0000 Date: Thu, 10 Jul 2014 03:42:04 +0000 (UTC) From: "Misty Stanley-Jones (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (HBASE-8473) add note to ref guide about snapshots and ec2 reverse dns requirements. 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-8473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Misty Stanley-Jones reassigned HBASE-8473: ------------------------------------------ Assignee: Misty Stanley-Jones (was: Jonathan Hsieh) > add note to ref guide about snapshots and ec2 reverse dns requirements. > ----------------------------------------------------------------------- > > Key: HBASE-8473 > URL: https://issues.apache.org/jira/browse/HBASE-8473 > Project: HBase > Issue Type: Bug > Components: documentation, snapshots > Affects Versions: 0.98.0, 0.94.6.1, 0.95.0 > Reporter: Jonathan Hsieh > Assignee: Misty Stanley-Jones > > From IRC from mighty Jeremy Carroll. > {code} > 17:10 jmhsieh: I think I found the root cuase. All my region servers reach the barrier, but it does not continue. > 17:11 jmhsieh: All RS have this in their logs: 2013-05-01 00:04:56,356 DEBUG org.apache.hadoop.hbase.procedure.Subprocedure: Subprocedure 'backup1' coordinator notified of 'acquire', waiting on 'reached' or 'abort' from coordinator. > 17:11 jmhsieh: Then the coordinator (Master) never sends anything. They just sit until the timeout. > 17:12 jmhsieh: So basically 'reached' is never obtained. Then abort it set, and it fails. > ... > 17:24 jmhsieh: Found the bug. The hostnames dont match the master due to DNS resolution > 17:25 jmhsieh: The barrier aquired is putting in the local hostname from the regionservers. In EC2 (Where reverse DNS does not work well), the master hands the internal name to the client. > 17:25 jmhsieh: https://s3.amazonaws.com/uploads.hipchat.com/23947/185789/au94meik0h3y5ii/Screen%20Shot%202013-04-30%20at%2017.25.50.png > 17:26 jmhsieh: So it's waiting for something like 'ip-10-155-208-202.ec2.internal,60020,1367366580066' zNode to show up, but instead 'hbasemetaclustera-d1b0a484,60020,1367366580066,' is being inserted. Barrier is not reached > 17:27 jmhsieh: Reason being in our environment the master does not have a reverse DNS entry. So we get stuff like this on RegionServer startup in our logs. > 17:27 jmhsieh: 2013-05-01 00:03:00,614 INFO org.apache.hadoop.hbase.regionserver.HRegionServer: Master passed us hostname to use. Was=hbasemetaclustera-d1b0a484, Now=ip-10-155-208-202.ec2.internal > 17:54 jmhsieh: That was it. Verified. Now that Reverse DNS is working, snapshots are working. Now how to figure out how to get Reverse DNS working on Route53. I wished there was something like 'slave.host.name' inside of Hadoop for this. Looking at source code. > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)