Skip to content

Instantly share code, notes, and snippets.

@moaikids
Created January 28, 2014 08:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moaikids/8663958 to your computer and use it in GitHub Desktop.
Save moaikids/8663958 to your computer and use it in GitHub Desktop.
# SPARK_HADOOP_VERSION=2.0.0-cdh4.5.0 SPARK_YARN=true ./sbt/sbt assembly
[info] Loading project definition from /usr/local/spark/project/project
[info] Loading project definition from /usr/local/spark/project
[info] Set current project to root (in build file:/usr/local/spark/)
[info] Updating {file:/usr/local/spark/}core...
[info] Resolving org.apache.derby#derby;10.4.2.0 ...
(snip...)
[error] /usr/local/spark/yarn/src/main/scala/org/apache/spark/deploy/yarn/YarnAllocationHandler.scala:36: AMResponse is not a member of org.apache.hadoop.yarn.api.records
[error] import org.apache.hadoop.yarn.api.records.{AMResponse, ApplicationAttemptId}
[error] ^
[error] /usr/local/spark/yarn/src/main/scala/org/apache/spark/deploy/yarn/YarnAllocationHandler.scala:105: value getAMResponse is not a member of org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse
[error] val amResp = allocateWorkerResources(workersToRequest).getAMResponse
[error] ^
[error] two errors found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment