Repository: spark
Updated Branches:
  refs/heads/branch-1.3 ee4929d1d -> 8446ad0eb


SPARK-1911 [DOCS] Warn users if their assembly jars are not built with Java 6

Add warning about building with Java 7+ and running the JAR on early Java 6.

CC andrewor14

Author: Sean Owen <so...@cloudera.com>

Closes #4874 from srowen/SPARK-1911 and squashes the following commits:

79fa2f6 [Sean Owen] Add warning about building with Java 7+ and running the JAR 
on early Java 6.

(cherry picked from commit e750a6bfddf1d7bf7d3e99a424ec2b83a18b40d9)
Signed-off-by: Andrew Or <and...@databricks.com>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/8446ad0e
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/8446ad0e
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/8446ad0e

Branch: refs/heads/branch-1.3
Commit: 8446ad0ebd2abb10ef405dc2ce53d2724604ce83
Parents: ee4929d
Author: Sean Owen <so...@cloudera.com>
Authored: Tue Mar 3 13:40:11 2015 -0800
Committer: Andrew Or <and...@databricks.com>
Committed: Tue Mar 3 13:40:16 2015 -0800

----------------------------------------------------------------------
 docs/building-spark.md | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/8446ad0e/docs/building-spark.md
----------------------------------------------------------------------
diff --git a/docs/building-spark.md b/docs/building-spark.md
index b666d14..d12ee8b 100644
--- a/docs/building-spark.md
+++ b/docs/building-spark.md
@@ -9,6 +9,10 @@ redirect_from: "building-with-maven.html"
 
 Building Spark using Maven requires Maven 3.0.4 or newer and Java 6+.
 
+**Note:** Building Spark with Java 7 or later can create JAR files that may 
not be
+readable with early versions of Java 6, due to the large number of files in 
the JAR
+archive. Build with Java 6 if this is an issue for your deployment.
+
 # Building with `build/mvn`
 
 Spark now comes packaged with a self-contained Maven installation to ease 
building and deployment of Spark from source located under the `build/` 
directory. This script will automatically download and setup all necessary 
build requirements ([Maven](https://maven.apache.org/), 
[Scala](http://www.scala-lang.org/), and 
[Zinc](https://github.com/typesafehub/zinc)) locally within the `build/` 
directory itself. It honors any `mvn` binary if present already, however, will 
pull down its own copy of Scala and Zinc regardless to ensure proper version 
requirements are met. `build/mvn` execution acts as a pass through to the `mvn` 
call allowing easy transition from previous build methods. As an example, one 
can build a version of Spark as follows:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to