flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-3222) Incorrect shift amount in OperatorCheckpointStats#hashCode()
Date Fri, 19 Aug 2016 17:45:21 GMT

     [ https://issues.apache.org/jira/browse/FLINK-3222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ted Yu updated FLINK-3222:
--------------------------
    Description: 
Here is related code:
{code}
    result = 31 * result + (int) (subTaskStats.length ^ (subTaskStats.length >>>
32));
{code}
subTaskStats.length is an int.


The shift amount is greater than 31 bits.

  was:
Here is related code:
{code}
    result = 31 * result + (int) (subTaskStats.length ^ (subTaskStats.length >>>
32));
{code}
subTaskStats.length is an int.

The shift amount is greater than 31 bits.


> Incorrect shift amount in OperatorCheckpointStats#hashCode()
> ------------------------------------------------------------
>
>                 Key: FLINK-3222
>                 URL: https://issues.apache.org/jira/browse/FLINK-3222
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>
> Here is related code:
> {code}
>     result = 31 * result + (int) (subTaskStats.length ^ (subTaskStats.length >>>
32));
> {code}
> subTaskStats.length is an int.
> The shift amount is greater than 31 bits.



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

Mime
View raw message