Return-Path: Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: (qmail 54004 invoked from network); 26 May 2010 21:02:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 May 2010 21:02:02 -0000 Received: (qmail 28032 invoked by uid 500); 26 May 2010 21:02:02 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 27987 invoked by uid 500); 26 May 2010 21:02:02 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 27979 invoked by uid 99); 26 May 2010 21:02:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 May 2010 21:02:02 +0000 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=FH_HELO_EQ_D_D_D_D,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [75.101.130.251] (HELO ip-10-250-10-165.ec2.internal) (75.101.130.251) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 May 2010 21:01:56 +0000 Received: from ip-10-250-10-165.ec2.internal (localhost.localdomain [127.0.0.1]) by ip-10-250-10-165.ec2.internal (Postfix) with ESMTP id D08CB20B76; Wed, 26 May 2010 21:01:35 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: Review Request: Patch for hbase-2599 for 0.20.5 inclusion From: "Todd Lipcon" To: "Todd Lipcon" , jiraposter@review.hbase.org, dev@hbase.apache.org, stack@duboce.net Date: Wed, 26 May 2010 21:01:35 -0000 Message-ID: <20100526210135.20565.84826@ip-10-250-10-165.ec2.internal> In-Reply-To: <20100525230424.7069.84964@ip-10-250-10-165.ec2.internal> References: <20100525230424.7069.84964@ip-10-250-10-165.ec2.internal> ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://review.hbase.org/r/88/#review81 ----------------------------------------------------------- Ship it! this seems reasonable, but only way we'll know is testing on various system= s with different kinds of DNS setups. Can we get those who have had issues = to try this and make sure it fixes, before we release it? branches/0.20/src/java/org/apache/hadoop/hbase/ClusterStatus.java I don't like that this function is called getServerNames and returns ho= stnameports. branches/0.20/src/test/org/apache/hadoop/hbase/TestServerInfo.java using the junit4 expected thing here doesn't quite work, cuz we don't k= now that it didn't throw on line 34, right? - Todd On 2010-05-25 16:04:24, stack wrote: > = > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://review.hbase.org/r/88/ > ----------------------------------------------------------- > = > (Updated 2010-05-25 16:04:24) > = > = > Review request for hbase. > = > = > Summary > ------- > = > Version of hbase-2599 for 0.20 branch for 0.20.5. > = > It cuts DNS lookups from HServerInfo and uses the regionservers name ever= ywhere instead of ip sometimes and a lookedup hostname at other times. Als= o puts hostname:port into .META. rather than IP. Removing DNS lookups make= s it so there is no possibility for disagreement over hostname if master ge= ts one answer for an IP and the regionserver has another. > = > Other notes: > = > It replaces variable servername with hostnameandport so its clear whats g= oing on. > = > Does some cleanup in HServerInfo renaming data member 'name' as 'hostname= ' and then purges DNS caching and lookups from this class. It removes some= unnecessary setters and does some javadoc fix ups. > = > Removes the dumb serverAddressToServerInfo from ServerManager. > = > = > This addresses bug hbase-2599. > = > = > Diffs > ----- > = > branches/0.20/src/java/org/apache/hadoop/hbase/ClusterStatus.java 94821= 8 = > branches/0.20/src/java/org/apache/hadoop/hbase/HServerInfo.java 948218 = > branches/0.20/src/java/org/apache/hadoop/hbase/master/BaseScanner.java = 948218 = > branches/0.20/src/java/org/apache/hadoop/hbase/master/HMaster.java 9482= 18 = > branches/0.20/src/java/org/apache/hadoop/hbase/master/ProcessRegionOpen= .java 948218 = > branches/0.20/src/java/org/apache/hadoop/hbase/master/ServerManager.jav= a 948218 = > branches/0.20/src/java/org/apache/hadoop/hbase/regionserver/HRegionServ= er.java 948218 = > branches/0.20/src/test/org/apache/hadoop/hbase/TestServerInfo.java PRE-= CREATION = > branches/0.20/src/webapps/master/table.jsp 948218 = > = > Diff: http://review.hbase.org/r/88/diff > = > = > Testing > ------- > = > Doing now. > = > = > Thanks, > = > stack > = >