Github user berngp commented on a diff in the pull request:
https://github.com/apache/spark/pull/590#discussion_r12117880
--- Diff: project/SparkBuild.scala ---
@@ -569,7 +569,7 @@ object SparkBuild extends Build {
libraryDependencies += "net.sf.py4j" % "py4j" % "0.8.1",
name := "spark-assembly",
assembleDeps in Compile <<= (packageProjects.map(packageBin in Compile
in _) ++ Seq(packageDependency in Compile)).dependOn,
- jarName in assembly <<= version map { v => "spark-assembly-" + v +
"-hadoop" + hadoopVersion + ".jar" },
+ jarName in assembly <<= version map { v =>
s"spark-assembly-${v}-hadoop${hadoopVersion}${if (isYarnEnabled) "-yarn" else
""}.jar" },
--- End diff --
The `RELEASE` already logs the `SPARK_HADOOP_VERSION`. This might suffice
the general use case.
```
echo "Spark $VERSION built for Hadoop $SPARK_HADOOP_VERSION" >
"$DISTDIR/RELEASE"
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---