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-15639) Unguarded access to stackIndexes in Procedure#toStringDetails()
Date Wed, 13 Apr 2016 20:17:25 GMT

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

Hudson commented on HBASE-15639:
--------------------------------

FAILURE: Integrated in HBase-Trunk_matrix #844 (See [https://builds.apache.org/job/HBase-Trunk_matrix/844/])
HBASE-15639 Unguarded access to stackIndexes in (tedyu: rev d41a7e63103b6f289aae49928c15d44ba2d6d6ce)
* hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/Procedure.java


> Unguarded access to stackIndexes in Procedure#toStringDetails()
> ---------------------------------------------------------------
>
>                 Key: HBASE-15639
>                 URL: https://issues.apache.org/jira/browse/HBASE-15639
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>             Fix For: 2.0.0, 1.3.0, 1.4.0
>
>         Attachments: HBASE-15639.v1.patch
>
>
> In Procedure#toStringDetails() :
> {code}
>     if (stackIndexes != null) {
>       sb.append("\n");
>       sb.append("stackIndexes=");
>       sb.append(Arrays.toString(getStackIndexes()));
>     }
> {code}
> The access is not protected by synchronized keyword whereas access to stackIndexes is
protected in all other methods.
> Note: getStackIndexes() has proper protection.



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

Mime
View raw message