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 923E97E13 for ; Sun, 25 Dec 2011 17:54:54 +0000 (UTC) Received: (qmail 17974 invoked by uid 500); 25 Dec 2011 17:54:54 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 17944 invoked by uid 500); 25 Dec 2011 17:54:54 -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 17935 invoked by uid 99); 25 Dec 2011 17:54:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Dec 2011 17:54:54 +0000 X-ASF-Spam-Status: No, hits=-2001.3 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Dec 2011 17:54:53 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3ED21128F3A for ; Sun, 25 Dec 2011 17:54:32 +0000 (UTC) Date: Sun, 25 Dec 2011 17:54:32 +0000 (UTC) From: "jiraposter@reviews.apache.org (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <491898964.44727.1324835672258.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <380028256.48122.1313650167694.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4224) Need a flush by regionserver rather than by table option 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-4224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175844#comment-13175844 ] jiraposter@reviews.apache.org commented on HBASE-4224: ------------------------------------------------------ ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/3308/#review4116 ----------------------------------------------------------- Please give us some results from testing in cluster. /src/main/java/org/apache/hadoop/hbase/ServerName.java I think we should perform stricter checking on hostname, without using DNS. See http://regexlib.com/DisplayPatterns.aspx?cattabindex=1&categoryId=2&AspxAutoDetectCookieSupport=1 /src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java The 'execute' after 'the' should be removed. /src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java The ctor with ThreadFactory parameter should be used so that threads in this pool can have names. /src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java Second component should read 'all regions on a region server' /src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java serverRegionsMap might be null upon return. I don't see null check below. /src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java Should read 'every region server' /src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java Should read 'whose WAL' /src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java I think Future.get(long timeout, TimeUnit unit) should be used here so that we don't wait indefinitely. - Ted On 2011-12-24 04:31:50, Akash Ashok wrote: bq. bq. ----------------------------------------------------------- bq. This is an automatically generated e-mail. To reply, visit: bq. https://reviews.apache.org/r/3308/ bq. ----------------------------------------------------------- bq. bq. (Updated 2011-12-24 04:31:50) bq. bq. bq. Review request for hbase. bq. bq. bq. Summary bq. ------- bq. bq. Flush by RegionServer bq. bq. bq. This addresses bug HBase-4224. bq. https://issues.apache.org/jira/browse/HBase-4224 bq. bq. bq. Diffs bq. ----- bq. bq. /src/main/java/org/apache/hadoop/hbase/ServerName.java 1222902 bq. /src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java 1222902 bq. /src/main/java/org/apache/hadoop/hbase/ipc/HRegionInterface.java 1222902 bq. /src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java 1222902 bq. bq. Diff: https://reviews.apache.org/r/3308/diff bq. bq. bq. Testing bq. ------- bq. bq. bq. Thanks, bq. bq. Akash bq. bq. > Need a flush by regionserver rather than by table option > -------------------------------------------------------- > > Key: HBASE-4224 > URL: https://issues.apache.org/jira/browse/HBASE-4224 > Project: HBase > Issue Type: Bug > Components: shell > Reporter: stack > Assignee: Akash Ashok > Attachments: HBase-4224-v2.patch, HBase-4224.patch > > > This evening needed to clean out logs on the cluster. logs are by regionserver. to let go of logs, we need to have all edits emptied from memory. only flush is by table or region. We need to be able to flush the regionserver. Need to add this. -- 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