hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahma Reddy Battula (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-8254) Log message is same for two different conditions in BlockTokenSecretManager#checkAccess()
Date Fri, 06 Apr 2012 14:31:29 GMT
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
            Reporter: Brahma Reddy Battula
            Priority: Minor
             Fix For: 2.0.0, 3.0.0


{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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message