mirror of
https://github.com/apache/sqoop.git
synced 2025-05-02 19:50:39 +08:00
SQOOP-3352: Bump java target version to 1.8
(Boglarka Egyed via Szabolcs Vasas)
This commit is contained in:
parent
b148d54000
commit
eefb7a0f3e
@ -27,8 +27,8 @@ under the License.
|
|||||||
|
|
||||||
Compiling Sqoop requires the following tools:
|
Compiling Sqoop requires the following tools:
|
||||||
|
|
||||||
* Apache ant (1.7.1) or Gradle (3.5.1)
|
* Apache ant (1.9.7) or Gradle (3.5.1)
|
||||||
* Java JDK 1.6
|
* Java JDK 1.8
|
||||||
|
|
||||||
Additionally, building the documentation requires these tools:
|
Additionally, building the documentation requires these tools:
|
||||||
|
|
||||||
|
@ -20,8 +20,8 @@ available in the +docs/+ directory.
|
|||||||
|
|
||||||
Compiling Sqoop requires the following tools:
|
Compiling Sqoop requires the following tools:
|
||||||
|
|
||||||
* Apache ant (1.7.1)
|
* Apache ant (1.9.7)
|
||||||
* Java JDK 1.6
|
* Java JDK 1.8
|
||||||
|
|
||||||
Additionally, building the documentation requires these tools:
|
Additionally, building the documentation requires these tools:
|
||||||
|
|
||||||
|
@ -176,7 +176,7 @@ tasks.withType(Test) {
|
|||||||
|
|
||||||
minHeapSize = "512m"
|
minHeapSize = "512m"
|
||||||
maxHeapSize = "5120m"
|
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
|
forkEvery 1
|
||||||
|
|
||||||
dependsOn buildFolder
|
dependsOn buildFolder
|
||||||
|
@ -115,8 +115,8 @@
|
|||||||
<property name="src.tar.file" location="${build.dir}/${src.artifact.name}.tar.gz" />
|
<property name="src.tar.file" location="${build.dir}/${src.artifact.name}.tar.gz" />
|
||||||
|
|
||||||
<!-- compilation -->
|
<!-- compilation -->
|
||||||
<property name="targetJavaVersion" value="1.7" />
|
<property name="targetJavaVersion" value="1.8" />
|
||||||
<property name="sourceJavaVersion" value="1.7" />
|
<property name="sourceJavaVersion" value="1.8" />
|
||||||
<property name="javac.deprecation" value="off"/>
|
<property name="javac.deprecation" value="off"/>
|
||||||
<property name="javac.debug" value="on"/>
|
<property name="javac.debug" value="on"/>
|
||||||
<property name="build.encoding" value="ISO-8859-1"/>
|
<property name="build.encoding" value="ISO-8859-1"/>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
# This properties file lists the versions of the various artifacts we use in gradle.
|
# This properties file lists the versions of the various artifacts we use in gradle.
|
||||||
|
|
||||||
javaSourceCompatibilityVersion=1.7
|
javaSourceCompatibilityVersion=1.8
|
||||||
|
|
||||||
avroVersion=1.8.1
|
avroVersion=1.8.1
|
||||||
kitedataVersion=1.1.0
|
kitedataVersion=1.1.0
|
||||||
|
@ -41,8 +41,8 @@ JAVA_HOME::
|
|||||||
As part of its import process, Sqoop generates and compiles Java code
|
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
|
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).
|
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
|
e.g., +/usr/java/default+. Hadoop (and Sqoop) requires Oracle Java 1.8 which
|
||||||
can be downloaded from http://java.sun.com.
|
can be downloaded from http://www.oracle.com/technetwork/java/index.html.
|
||||||
|
|
||||||
HADOOP_COMMON_HOME::
|
HADOOP_COMMON_HOME::
|
||||||
The location of the Hadoop Common files (specifically the bin/hadoop executable).
|
The location of the Hadoop Common files (specifically the bin/hadoop executable).
|
||||||
|
Loading…
Reference in New Issue
Block a user