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

Annotation javax.annotation.Generated has moved

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.2.0
    • Component/s: api
    • Labels:
      None
    • Hadoop Flags:
      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 Purtell

          Issue Links

            Activity

              People

              • Assignee:
                apurtell Andrew Purtell
                Reporter:
                apurtell Andrew Purtell
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: