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

InterfaceAudience annotations should have RetentionPolicy.RUNTIME

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: