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 13356200D0B for ; Wed, 27 Sep 2017 10:37:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 11A001609EB; Wed, 27 Sep 2017 08:37:07 +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 3051F1609BC for ; Wed, 27 Sep 2017 10:37:06 +0200 (CEST) Received: (qmail 34083 invoked by uid 500); 27 Sep 2017 08:37: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 34069 invoked by uid 99); 27 Sep 2017 08:37:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Sep 2017 08:37:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id AC1CB1A3184 for ; Wed, 27 Sep 2017 08:37:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id hIcVxj4affc3 for ; Wed, 27 Sep 2017 08:37:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 3C19F612BE for ; Wed, 27 Sep 2017 08:37:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id BC85DE0012 for ; Wed, 27 Sep 2017 08:37:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3351A2428E for ; Wed, 27 Sep 2017 08:37:00 +0000 (UTC) Date: Wed, 27 Sep 2017 08:37:00 +0000 (UTC) From: "Chia-Ping Tsai (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-18839) Apply RegionInfo to code base MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 27 Sep 2017 08:37:07 -0000 [ https://issues.apache.org/jira/browse/HBASE-18839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chia-Ping Tsai updated HBASE-18839: ----------------------------------- Release Note: The incompatible changes of IA.Public/LimitedPrivate classes are shown below. + new methods - removed methods * deprecated methods ------------------------------------- HRegionLocation class + RegionInfo getRegion() * HRegionInfo getRegionInfo() AsyncAdmin class + CompletableFuture> getOnlineRegions(ServerName serverName); - CompletableFuture> getOnlineRegions(ServerName serverName); + CompletableFuture> getTableRegions(TableName tableName); - CompletableFuture> getTableRegions(TableName tableName); HBaseTestingUtility class - Table createTable(HTableDescriptor htd, byte[][] families, Configuration c) - Table createTable(HTableDescriptor htd, byte[][] families, byte[][] splitKeys, Configuration c) - Table createTable(HTableDescriptor htd, byte[][] splitRows) - void modifyTableSync(Admin admin, HTableDescriptor desc) - HRegion createLocalHRegion(HTableDescriptor desc, byte [] startKey, byte [] endKey) - HRegion createLocalHRegion(HRegionInfo info, HTableDescriptor desc) - HRegion createLocalHRegion(HRegionInfo info, TableDescriptor desc) + HRegion createLocalHRegion(RegionInfo info, TableDescriptor desc) - HRegion createLocalHRegion(HRegionInfo info, HTableDescriptor desc, WAL wal) - HRegion createLocalHRegion(HRegionInfo info, TableDescriptor desc, WAL wal) + HRegion createLocalHRegion(RegionInfo info, TableDescriptor desc, WAL wal) * List createMultiRegionsInMeta(final Configuration conf,final TableDescriptor htd, byte [][] startKeys) + List createMultiRegionsInMeta(final Configuration conf,final TableDescriptor htd, byte [][] startKeys) - WAL createWal(final Configuration conf, final Path rootDir, final HRegionInfo hri) + WAL createWal(final Configuration conf, final Path rootDir, final RegionInfo hri) - HRegion createRegionAndWAL(final HRegionInfo info, final Path rootDir,final Configuration conf, final HTableDescriptor htd) - HRegion createRegionAndWAL(final HRegionInfo info, final Path rootDir, final Configuration conf, final TableDescriptor htd) + HRegion createRegionAndWAL(final RegionInfo info, final Path rootDir, final Configuration conf, final TableDescriptor htd) - HRegion createRegionAndWAL(final HRegionInfo info, final Path rootDir, final Configuration conf, final HTableDescriptor htd, boolean initialize) + HRegion createRegionAndWAL(final RegionInfo info, final Path rootDir, final Configuration conf, final HTableDescriptor htd, boolean initialize) - boolean assignRegion(final HRegionInfo regionInfo) + boolean assignRegion(final RegionInfo regionInfo) - void moveRegionAndWait(HRegionInfo destRegion, ServerName destServer) + void moveRegionAndWait(RegionInfo destRegion, ServerName destServer) - int createPreSplitLoadTestTable(Configuration conf, HTableDescriptor desc, HColumnDescriptor hcd) - int createPreSplitLoadTestTable(Configuration conf, HTableDescriptor desc, HColumnDescriptor hcd, int numRegionsPerServer) - int createPreSplitLoadTestTable(Configuration conf, HTableDescriptor desc, HColumnDescriptor[] hcds, int numRegionsPerServer) - HRegion createTestRegion(String tableName, HColumnDescriptor cd) WALEdit class - WALEdit createFlushWALEdit(HRegionInfo hri, FlushDescriptor f) + WALEdit createFlushWALEdit(RegionInfo hri, FlushDescriptor f) - WALEdit createRegionEventWALEdit(HRegionInfo hri,RegionEventDescriptor regionEventDesc) + WALEdit createRegionEventWALEdit(RegionInfo hri,RegionEventDescriptor regionEventDesc) - WALEdit createCompaction(final HRegionInfo hri, final CompactionDescriptor c) + WALEdit createCompaction(final RegionInfo hri, final CompactionDescriptor c) - byte[] getRowForRegion(HRegionInfo hri) + byte[] getRowForRegion(RegionInfo hri) - WALEdit createBulkLoadEvent(HRegionInfo hri, WALProtos.BulkLoadDescriptor bulkLoadDescriptor) + - WALEdit createBulkLoadEvent(RegionInfo hri, WALProtos.BulkLoadDescriptor bulkLoadDescriptor) RegionScanner class - HRegionInfo getRegionInfo(); + RegionInfo getRegionInfo(); Store class - HRegionInfo getRegionInfo(); + RegionInfo getRegionInfo(); RegionPlan class - RegionPlan(final HRegionInfo hri, ServerName source, ServerName dest) + RegionPlan(final RegionInfo hri, ServerName source, ServerName dest) Region class - HRegionInfo getRegionInfo(); + RegionInfo getRegionInfo(); > Apply RegionInfo to code base > ----------------------------- > > Key: HBASE-18839 > URL: https://issues.apache.org/jira/browse/HBASE-18839 > Project: HBase > Issue Type: Sub-task > Components: Coprocessors > Reporter: Chia-Ping Tsai > Assignee: Chia-Ping Tsai > Fix For: 2.0.0-alpha-4 > > Attachments: HBASE-18839.v0.patch > > -- This message was sent by Atlassian JIRA (v6.4.14#64029)