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