hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16969) RegionCoprocessorServiceExec should override the toString() for debugging
Date Tue, 01 Nov 2016 01:29:58 GMT

    [ https://issues.apache.org/jira/browse/HBASE-16969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15623996#comment-15623996
] 

Hudson commented on HBASE-16969:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #1892 (See [https://builds.apache.org/job/HBase-Trunk_matrix/1892/])
HBASE-16969 RegionCoprocessorServiceExec should override the toString() (stack: rev fe47ec81f937ad168a3fc26333090733dab9d8f5)
* (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionCoprocessorServiceExec.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/ZNodeClearer.java


> RegionCoprocessorServiceExec should override the toString() for debugging
> -------------------------------------------------------------------------
>
>                 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.4.0, 1.3.1
>
>         Attachments: HBASE-16969.branch-1.v0.patch, HBASE-16969.v0.patch, HBASE-16969.v1.patch,
HBASE-16969.v1.patch
>
>
> The toString() method is used to log in BatchErrors#makeException.
> {code:title=BatchErrors.java|borderStyle=solid}
> synchronized RetriesExhaustedWithDetailsException makeException(boolean logDetails) {
>   if (logDetails) {LOG.error("Exception occurred! Exception details: " + throwables +
";\nActions: " + actions);
>  }
> {code}
> If RegionCoprocessorServiceExec doesn’t override the toString(), we will see the hash
code in the log message. That message is useless for debugging.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message