Hadoop Common
  1. Hadoop Common
  2. HADOOP-7466 Hadoop Log improvement Umbrella
  3. HADOOP-8254

Log message is same for two different conditions in BlockTokenSecretManager#checkAccess()

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.0-alpha, 3.0.0
    • Component/s: fs
    • Labels:
      None

      Description

      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);
          }
      

        Activity

        Hide
        Suresh Srinivas added a comment -

        Not sure multiple jiras for every log message is required. Brahma can you please add it into a single jira, when it is fairly trivial. I am folding this in HADOOP-8252

        Show
        Suresh Srinivas added a comment - Not sure multiple jiras for every log message is required. Brahma can you please add it into a single jira, when it is fairly trivial. I am folding this in HADOOP-8252

          People

          • Assignee:
            Unassigned
            Reporter:
            Brahma Reddy Battula
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development