You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2017/11/09 00:41:00 UTC
[jira] [Updated] (HBASE-15639) Unguarded access to stackIndexes in
Procedure#toStringDetails()
[ https://issues.apache.org/jira/browse/HBASE-15639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Purtell updated HBASE-15639:
-----------------------------------
Fix Version/s: (was: 1.4.0)
> 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
>
> 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.4.14#64029)