hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-8254) Log message is same for two different conditions in BlockTokenSecretManager#checkAccess()
Date Tue, 09 Sep 2014 20:23:30 GMT

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

Allen Wittenauer updated HADOOP-8254:
-------------------------------------
    Fix Version/s:     (was: 3.0.0)
                       (was: 2.0.0-alpha)

> Log message is same for two different conditions in BlockTokenSecretManager#checkAccess()
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8254
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8254
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 2.0.0-alpha
>            Reporter: Brahma Reddy Battula
>            Priority: Minor
>
> {code}
> if (!id.getBlockPoolId().equals(block.getBlockPoolId())) {
>       throw new InvalidToken("Block token with " + id.toString()
>           + " doesn't apply to block " + block);
>     }
>     if (id.getBlockId() != block.getBlockId()) {
>       throw new InvalidToken("Block token with " + id.toString()
>           + " doesn't apply to block " + block);
>     }
> {code}



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

Mime
View raw message