Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CD25E200B7E for ; Mon, 22 Aug 2016 10:30:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CBD09160A91; Mon, 22 Aug 2016 08:30:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1EA30160AB3 for ; Mon, 22 Aug 2016 10:30:22 +0200 (CEST) Received: (qmail 43437 invoked by uid 500); 22 Aug 2016 08:30:22 -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 43158 invoked by uid 99); 22 Aug 2016 08:30:22 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2016 08:30:22 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D4AED2C0159 for ; Mon, 22 Aug 2016 08:30:21 +0000 (UTC) Date: Mon, 22 Aug 2016 08:30:21 +0000 (UTC) From: "Hadoop QA (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16455) Provide API for obtaining highest file number among all the WAL files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 22 Aug 2016 08:30:24 -0000 [ https://issues.apache.org/jira/browse/HBASE-16455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15430296#comment-15430296 ] Hadoop QA commented on HBASE-16455: ----------------------------------- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 0s {color} | {color:blue} Docker mode activated. {color} | | {color:blue}0{color} | {color:blue} patch {color} | {color:blue} 0m 3s {color} | {color:blue} The patch file was not named according to hbase's naming conventions. Please see https://yetus.apache.org/documentation/0.3.0/precommit-patchnames for instructions. {color} | | {color:red}-1{color} | {color:red} docker {color} | {color:red} 0m 4s {color} | {color:red} Docker failed to build yetus/hbase:date2016-08-22. {color} | \\ \\ || Subsystem || Report/Notes || | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12824796/16455.v5.txt | | JIRA Issue | HBASE-16455 | | Console output | https://builds.apache.org/job/PreCommit-HBASE-Build/3189/console | | Powered by | Apache Yetus 0.3.0 http://yetus.apache.org | This message was automatically generated. > Provide API for obtaining highest file number among all the WAL files > --------------------------------------------------------------------- > > Key: HBASE-16455 > URL: https://issues.apache.org/jira/browse/HBASE-16455 > Project: HBase > Issue Type: Improvement > Reporter: Ted Yu > Assignee: Ted Yu > Fix For: 2.0.0, 1.4.0 > > Attachments: 16455.branch-1.v4.txt, 16455.v1.txt, 16455.v2.txt, 16455.v3.txt, 16455.v4.txt, 16455.v5.txt > > > Currently RegionServerServices has the following API: > {code} > WAL getWAL(HRegionInfo regionInfo) throws IOException; > {code} > Caller can only obtain filenum for a specific WAL. > When multi wal is in use, we should add API for obtaining highest file number among all the outstanding WAL files. > User can pass null to getWAL() method above, but the filenum for the returned WAL may not be the highest among all the WAL files. > See log snippet in the first comment. -- This message was sent by Atlassian JIRA (v6.3.4#6332)