Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10374

InterfaceAudience annotations should have RetentionPolicy.RUNTIME

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      There are valid use cases for accessing the InterfaceAudience annotations programatically.

      In HBase, we are writing a unit test to check whether every class in the client packages are annotated with one of the annotations. Plus, we are also thinking about a golden file to containing all public method sigs, so that we can ensure public facing API-compatibility from a unit test.

      Related: HBASE-8546, HBASE-10462, HBASE-8275

        Attachments

        1. hadoop-10374_v1.patch
          2 kB
          Enis Soztutar

          Issue Links

            Activity

              People

              • Assignee:
                enis Enis Soztutar
                Reporter:
                enis Enis Soztutar
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: