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 5C47D200BB0 for ; Sun, 30 Oct 2016 12:45:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 503A3160B04; Sun, 30 Oct 2016 11:45:00 +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 BB64E160AED for ; Sun, 30 Oct 2016 12:44:59 +0100 (CET) Received: (qmail 49374 invoked by uid 500); 30 Oct 2016 11:44:58 -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 49351 invoked by uid 99); 30 Oct 2016 11:44:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Oct 2016 11:44:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AEA9F2C0D55 for ; Sun, 30 Oct 2016 11:44:58 +0000 (UTC) Date: Sun, 30 Oct 2016 11:44:58 +0000 (UTC) From: "ChiaPing Tsai (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-16969) RegionCoprocessorServiceExec should override the toString for logging MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 30 Oct 2016 11:45:00 -0000 [ https://issues.apache.org/jira/browse/HBASE-16969?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] ChiaPing Tsai updated HBASE-16969: ---------------------------------- Attachment: HBASE-16969.branch-1.v0.patch reattach patch for QA run > RegionCoprocessorServiceExec should override the toString for logging > --------------------------------------------------------------------- > > Key: HBASE-16969 > URL: https://issues.apache.org/jira/browse/HBASE-16969 > Project: HBase > Issue Type: Improvement > Affects Versions: 2.0.0, 1.3.0 > Reporter: ChiaPing Tsai > Assignee: ChiaPing Tsai > Priority: Minor > Fix For: 2.0.0, 1.3.0 > > Attachments: HBASE-16969.branch-1.v0.patch, HBASE-16969.v0.patch,= HBASE-16969.v1.patch > > > The toString() method is used to log in BatchErrors#makeException. > {code:title=3DBatchErrors.java|borderStyle=3Dsolid} > synchronized RetriesExhaustedWithDetailsException makeException(boolean l= ogDetails) { > if (logDetails) {LOG.error("Exception occurred! Exception details: " + = throwables + ";\nActions: " + actions); > } > {code} > If RegionCoprocessorServiceExec doesn=E2=80=99t override the toString(), = we will see the hash code in the log message. That message is useless for d= ebugging. -- This message was sent by Atlassian JIRA (v6.3.4#6332)