Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-39515 Improve/recover scheduled jobs in GitHub Actions
  3. SPARK-39491

Hadoop 2.7 build fails due to org.apache.hadoop.yarn.api.records.NodeState.DECOMMISSIONING

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • Spark Core
    • None

    Description

      trying to build with the hadoop-2 profile, which uses hadoop 2.7 version fails due to:

      resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/YarnAllocator.scala:454: value DECOMMISSIONING is not a member of object org.apache.hadoop.yarn.api.records.NodeState

       

      DECOMMISSIONING was only added in hadoop 2.8.

      This was added in https://issues.apache.org/jira/browse/SPARK-30835

      Attachments

        Issue Links

          Activity

            People

              LuciferYang Yang Jie
              tgraves Thomas Graves
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: