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

Fix a typo in ReplicaUnderRecovery#setRecoveryID

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.0.0-alpha2
    • 2.8.0, 3.0.0-alpha2
    • None
    • None
    • 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

        1. HDFS-11250.001.patch
          0.9 kB
          Yiqun Lin

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: