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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.0
    • 2.8.0, 3.0.0-alpha1
    • documentation, hdfs
    • None
    • centos6.5 x64
      hadoop 2.8.0

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: