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 CCBB3200B94 for ; Sun, 18 Sep 2016 05:49:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CB96D160AD6; Sun, 18 Sep 2016 03:49:22 +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 1454A160ACD for ; Sun, 18 Sep 2016 05:49:21 +0200 (CEST) Received: (qmail 86781 invoked by uid 500); 18 Sep 2016 03:49:21 -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 86730 invoked by uid 99); 18 Sep 2016 03:49:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Sep 2016 03:49:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B53092C1B7F for ; Sun, 18 Sep 2016 03:49:20 +0000 (UTC) Date: Sun, 18 Sep 2016 03:49:20 +0000 (UTC) From: "Charlie Qiangeng Xu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16626) User customized RegionScanner from 1.X is incompatible with 2.0.0's off-heap part MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 18 Sep 2016 03:49:23 -0000 [ https://issues.apache.org/jira/browse/HBASE-16626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15500183#comment-15500183 ] Charlie Qiangeng Xu commented on HBASE-16626: --------------------------------------------- First patch in community! Thank you Anoop and all others, you guys are very supportive and responsive :) > User customized RegionScanner from 1.X is incompatible with 2.0.0's off-heap part > --------------------------------------------------------------------------------- > > Key: HBASE-16626 > URL: https://issues.apache.org/jira/browse/HBASE-16626 > Project: HBase > Issue Type: Sub-task > Components: Offheaping > Affects Versions: 2.0.0 > Reporter: Charlie Qiangeng Xu > Assignee: Charlie Qiangeng Xu > Fix For: 2.0.0 > > Attachments: HBASE-16626-v1.patch > > > Introduced by 2.0.0's off-heap feature, the interface RegionScanner extends a new interface Shipper which contains a "shipped()" method. > In our case, some application user defined customized scanner that implements Interface RegionScanner in 1.X . > After we back ported the Off Heap feature of 2.0.0, RegionScannerShippedCallBack throws a "java.lang.AbstractMethodError" when executing scanner.shipped(). It is because the customized scanner didn't override the shipped method yet. > Instead of forcing every user to add a empty implementation(if they don't really need to scan the file or the RS don't use L2 cache, they don't need to do anything in shipped method) , adding a default method of shipped in Interface RegionScanner might be a better way. -- This message was sent by Atlassian JIRA (v6.3.4#6332)