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 000BB200BB2 for ; Sat, 29 Oct 2016 17:21:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F2BCF160AF4; Sat, 29 Oct 2016 15:21:59 +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 6BF45160AF1 for ; Sat, 29 Oct 2016 17:21:59 +0200 (CEST) Received: (qmail 14546 invoked by uid 500); 29 Oct 2016 15:21: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 14534 invoked by uid 99); 29 Oct 2016 15:21:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Oct 2016 15:21:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 61E852C014E for ; Sat, 29 Oct 2016 15:21:58 +0000 (UTC) Date: Sat, 29 Oct 2016 15:21: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: Sat, 29 Oct 2016 15:22: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: ---------------------------------- Fix Version/s: 1.3.0 Affects Version/s: 1.3.0 Status: Patch Available (was: Open) > 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)