[ 
https://issues.apache.org/jira/browse/SPARK-19545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15860994#comment-15860994
 ] 

Apache Spark commented on SPARK-19545:
--------------------------------------

User 'jerryshao' has created a pull request for this issue:
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
>
> {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