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 654C717F1E for ; Thu, 10 Sep 2015 15:31:49 +0000 (UTC) Received: (qmail 17186 invoked by uid 500); 10 Sep 2015 15:31:46 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 17130 invoked by uid 500); 10 Sep 2015 15:31:46 -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 17116 invoked by uid 99); 10 Sep 2015 15:31:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2015 15:31:46 +0000 Date: Thu, 10 Sep 2015 15:31:46 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-14230) replace reflection in FSHlog with HdfsDataOutputStream#getCurrentBlockReplication() 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-14230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-14230: -------------------------- Resolution: Fixed Hadoop Flags: Reviewed Fix Version/s: 1.3.0 1.2.0 2.0.0 Release Note: Remove calling getNumCurrentReplicas on HdfsDataOutputStream via reflection. getNumCurrentReplicas showed up in hadoop 1+ and hadoop 0.2x. In hadoop-2 it was deprecated. Status: Resolved (was: Patch Available) Committed to 1.2+ Thanks for the patch [~chenheng] I added release note w/ the info you turned up. Thanks. > replace reflection in FSHlog with HdfsDataOutputStream#getCurrentBlockReplication() > ----------------------------------------------------------------------------------- > > Key: HBASE-14230 > URL: https://issues.apache.org/jira/browse/HBASE-14230 > Project: HBase > Issue Type: Improvement > Components: wal > Reporter: Heng Chen > Assignee: Heng Chen > Priority: Minor > Fix For: 2.0.0, 1.2.0, 1.3.0 > > Attachments: HBASE-14230.patch > > > As comment TODO said, we use {{HdfsDataOutputStream#getCurrentBlockReplication}} and {{DFSOutputStream.getPipeLine}} to replace reflection in FSHlog -- This message was sent by Atlassian JIRA (v6.3.4#6332)