Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-17129 Increase usage of InterfaceAudience and InterfaceStability annotations
  3. HIVE-17743

Add InterfaceAudience and InterfaceStability annotations for Thrift generated APIs

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • Thrift API
    • None

    Description

      The Thrift generated files don't have InterfaceAudience or InterfaceStability annotations on them, mainly because all the files are auto-generated.

      We should add some code that auto-tags all the Java Thrift generated files with these annotations. This way even when they are re-generated, they still contain the annotations.

      We should be able to do this using the com.google.code.maven-replacer-plugin similar to what we do in standalone-metastore/pom.xml.

      Attachments

        1. HIVE-17743.2.patch
          1.05 MB
          Sahil Takiar
        2. HIVE-17743.1.patch
          1.05 MB
          Sahil Takiar

        Activity

          People

            stakiar Sahil Takiar
            stakiar Sahil Takiar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: