You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Saisai Shao (JIRA)" <ji...@apache.org> on 2017/02/10 08:19:41 UTC

[jira] [Created] (SPARK-19545) Compilation error with method not found when build against Hadoop 2.6.0.

Saisai Shao created SPARK-19545:
-----------------------------------

             Summary: Compilation error with method not found when build against Hadoop 2.6.0.
                 Key: SPARK-19545
                 URL: https://issues.apache.org/jira/browse/SPARK-19545
             Project: Spark
          Issue Type: Bug
          Components: YARN
    Affects Versions: 2.2.0
            Reporter: Saisai Shao


{code}
./build/sbt -Phadoop-2.6 -Pyarn -Dhadoop.version=2.6.0
{code}

{code}
[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
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org