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: [email protected]
For additional commands, e-mail: [email protected]