[ 
https://issues.apache.org/jira/browse/SPARK-19545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen resolved SPARK-19545.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.0

Issue resolved by pull request 16884
[https://github.com/apache/spark/pull/16884]

> 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
>             Fix For: 2.2.0
>
>
> {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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to