Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-8772

Annotation javax.annotation.Generated has moved

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.1.1
    • 3.2.0
    • api
    • None
    • Reviewed

    Description

      YARN compilation with Java 11 fails because the annotation javax.annotation.Generated has moved. It is now javax.annotation.processing.Generated. A simple substitution will break compilation with older JDK, so it seems best to remove the annotations, which are only documentation not functional.

      Attachments

        1. YARN-8772.patch
          22 kB
          Andrew Kyle Purtell

        Issue Links

          Activity

            People

              apurtell Andrew Kyle Purtell
              apurtell Andrew Kyle Purtell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: