Repository: sqoop Updated Branches: refs/heads/trunk b148d5400 -> eefb7a0f3
SQOOP-3352: Bump java target version to 1.8 (Boglarka Egyed via Szabolcs Vasas) Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/eefb7a0f Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/eefb7a0f Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/eefb7a0f Branch: refs/heads/trunk Commit: eefb7a0f3e28956fc51346b91f8a9337c5be9aca Parents: b148d54 Author: Szabolcs Vasas <va...@apache.org> Authored: Wed Jul 25 17:00:16 2018 +0200 Committer: Szabolcs Vasas <va...@apache.org> Committed: Wed Jul 25 17:00:16 2018 +0200 ---------------------------------------------------------------------- COMPILING.txt | 4 ++-- README.txt | 4 ++-- build.gradle | 2 +- build.xml | 4 ++-- gradle.properties | 2 +- src/docs/man/sqoop.txt | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/sqoop/blob/eefb7a0f/COMPILING.txt ---------------------------------------------------------------------- diff --git a/COMPILING.txt b/COMPILING.txt index 9abf0b2..4b61b11 100644 --- a/COMPILING.txt +++ b/COMPILING.txt @@ -27,8 +27,8 @@ under the License. Compiling Sqoop requires the following tools: -* Apache ant (1.7.1) or Gradle (3.5.1) -* Java JDK 1.6 +* Apache ant (1.9.7) or Gradle (3.5.1) +* Java JDK 1.8 Additionally, building the documentation requires these tools: http://git-wip-us.apache.org/repos/asf/sqoop/blob/eefb7a0f/README.txt ---------------------------------------------------------------------- diff --git a/README.txt b/README.txt index b8f0a7a..c27d912 100644 --- a/README.txt +++ b/README.txt @@ -20,8 +20,8 @@ available in the +docs/+ directory. Compiling Sqoop requires the following tools: -* Apache ant (1.7.1) -* Java JDK 1.6 +* Apache ant (1.9.7) +* Java JDK 1.8 Additionally, building the documentation requires these tools: http://git-wip-us.apache.org/repos/asf/sqoop/blob/eefb7a0f/build.gradle ---------------------------------------------------------------------- diff --git a/build.gradle b/build.gradle index 8b8b555..e2c4479 100644 --- a/build.gradle +++ b/build.gradle @@ -176,7 +176,7 @@ tasks.withType(Test) { minHeapSize = "512m" maxHeapSize = "5120m" - jvmArgs '-Xmx5012m', '-XX:PermSize=256m', '-XX:MaxPermSize=512m', "-da:org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge" + jvmArgs '-Xmx5012m', "-da:org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge" forkEvery 1 dependsOn buildFolder http://git-wip-us.apache.org/repos/asf/sqoop/blob/eefb7a0f/build.xml ---------------------------------------------------------------------- diff --git a/build.xml b/build.xml index 0ae729b..8115b02 100644 --- a/build.xml +++ b/build.xml @@ -115,8 +115,8 @@ <property name="src.tar.file" location="${build.dir}/${src.artifact.name}.tar.gz" /> <!-- compilation --> - <property name="targetJavaVersion" value="1.7" /> - <property name="sourceJavaVersion" value="1.7" /> + <property name="targetJavaVersion" value="1.8" /> + <property name="sourceJavaVersion" value="1.8" /> <property name="javac.deprecation" value="off"/> <property name="javac.debug" value="on"/> <property name="build.encoding" value="ISO-8859-1"/> http://git-wip-us.apache.org/repos/asf/sqoop/blob/eefb7a0f/gradle.properties ---------------------------------------------------------------------- diff --git a/gradle.properties b/gradle.properties index a571e6c..0722490 100644 --- a/gradle.properties +++ b/gradle.properties @@ -17,7 +17,7 @@ # This properties file lists the versions of the various artifacts we use in gradle. -javaSourceCompatibilityVersion=1.7 +javaSourceCompatibilityVersion=1.8 avroVersion=1.8.1 kitedataVersion=1.1.0 http://git-wip-us.apache.org/repos/asf/sqoop/blob/eefb7a0f/src/docs/man/sqoop.txt ---------------------------------------------------------------------- diff --git a/src/docs/man/sqoop.txt b/src/docs/man/sqoop.txt index 7977e13..2bcf843 100644 --- a/src/docs/man/sqoop.txt +++ b/src/docs/man/sqoop.txt @@ -41,8 +41,8 @@ JAVA_HOME:: As part of its import process, Sqoop generates and compiles Java code by invoking the Java compiler *javac*(1). As a result, JAVA_HOME must be set to the location of your JDK (note: This cannot just be a JRE). - e.g., +/usr/java/default+. Hadoop (and Sqoop) requires Sun Java 1.6 which - can be downloaded from http://java.sun.com. + e.g., +/usr/java/default+. Hadoop (and Sqoop) requires Oracle Java 1.8 which + can be downloaded from http://www.oracle.com/technetwork/java/index.html. HADOOP_COMMON_HOME:: The location of the Hadoop Common files (specifically the bin/hadoop executable).