Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-11250

Fix a typo in ReplicaUnderRecovery#setRecoveryID

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha2
    • Fix Version/s: 2.8.0, 3.0.0-alpha2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Found a typo contained in exception message of ReplicaUnderRecovery#setRecoveryID. The relevant codes:

        public void setRecoveryID(long recoveryId) {
          if (recoveryId > this.recoveryId) {
            this.recoveryId = recoveryId;
          } else {
            throw new IllegalArgumentException("The new rcovery id: " + recoveryId
                + " must be greater than the current one: " + this.recoveryId);
          }
        }
      

      Here rcovery should be recovery.

        Attachments

          Activity

            People

            • Assignee:
              linyiqun Yiqun Lin
              Reporter:
              linyiqun Yiqun Lin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: