Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-19545

Compilation error with method not found when build against Hadoop 2.6.0.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • Spark Core, YARN
    • None

    Description

      ./build/sbt -Phadoop-2.6 -Pyarn -Dhadoop.version=2.6.0
      
      [error] /Users/sshao/projects/apache-spark/resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala:249: value setRolledLogsIncludePattern is not a member of org.apache.hadoop.yarn.api.records.LogAggregationContext
      [error]       logAggregationContext.setRolledLogsIncludePattern(includePattern)
      [error]                             ^
      [error] /Users/sshao/projects/apache-spark/resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala:251: value setRolledLogsExcludePattern is not a member of org.apache.hadoop.yarn.api.records.LogAggregationContext
      [error]         logAggregationContext.setRolledLogsExcludePattern(excludePattern)
      [error]                               ^
      [error] two errors found
      

      Attachments

        Issue Links

          Activity

            People

              jerryshao Saisai Shao
              jerryshao Saisai Shao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: