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

Javadoc for HAState#HAState and HAState#setStateInternal contains non-existent params

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: documentation, hdfs
    • Labels:
      None
    • Environment:

      centos6.5 x64
      hadoop 2.8.0

    • Hadoop Flags:
      Reviewed

      Description

      Javadoc for HAState#HAState() contains @param name, but this constructor doesn't has the parameter, HAState#setStateInternal() has the same problem, and the annotation is not quite accurate, which is confusing for beginners.
      So I made a simple fix.

        Attachments

        1. HDFS-10589.patch
          1 kB
          Shen Yinjie
        2. HDFS-10589_1.patch
          1 kB
          Shen Yinjie

          Activity

            People

            • Assignee:
              shenyinjie Shen Yinjie
              Reporter:
              shenyinjie Shen Yinjie
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: