-
- Downloads
SPARK-1465: Spark compilation is broken with the latest hadoop-2.4.0 release
YARN-1824 changes the APIs (addToEnvironment, setEnvFromInputString) in Apps, which causes the spark build to break if built against a version 2.4.0. To fix this, create the spark own function to do that functionality which will not break compiling against 2.3 and other 2.x versions. Author: xuan <xuan@MacBook-Pro.local> Author: xuan <xuan@macbook-pro.home> Closes #396 from xgong/master and squashes the following commits: 42b5984 [xuan] Remove two extra imports bc0926f [xuan] Remove usage of org.apache.hadoop.util.Shell be89fa7 [xuan] fix Spark compilation is broken with the latest hadoop-2.4.0 release
Showing
- yarn/common/src/main/scala/org/apache/spark/deploy/yarn/ClientBase.scala 19 additions, 14 deletions.../main/scala/org/apache/spark/deploy/yarn/ClientBase.scala
- yarn/common/src/main/scala/org/apache/spark/deploy/yarn/ExecutorRunnableUtil.scala 3 additions, 1 deletion...a/org/apache/spark/deploy/yarn/ExecutorRunnableUtil.scala
- yarn/common/src/main/scala/org/apache/spark/deploy/yarn/YarnSparkHadoopUtil.scala 63 additions, 0 deletions...la/org/apache/spark/deploy/yarn/YarnSparkHadoopUtil.scala
Please register or sign in to comment