You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2021/09/18 07:54:06 UTC

[iotdb] branch master updated: [IOTDB-1713] Run IoTDB CI with JDK17 (#3998)

This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 64f7179  [IOTDB-1713] Run IoTDB CI with JDK17 (#3998)
64f7179 is described below

commit 64f717961d2adfb755cdfafaf99f33919cceb1d2
Author: Haonan <hh...@outlook.com>
AuthorDate: Sat Sep 18 15:53:40 2021 +0800

    [IOTDB-1713] Run IoTDB CI with JDK17 (#3998)
---
 .github/workflows/main-unix.yml | 2 +-
 .github/workflows/main-win.yml  | 2 +-
 README.md                       | 2 +-
 README_ZH.md                    | 2 +-
 pom.xml                         | 4 ++--
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/main-unix.yml b/.github/workflows/main-unix.yml
index e34c848..ed8ef02 100644
--- a/.github/workflows/main-unix.yml
+++ b/.github/workflows/main-unix.yml
@@ -31,7 +31,7 @@ jobs:
       fail-fast: false
       max-parallel: 20
       matrix:
-        java: [ 8, 11, 16 ]
+        java: [ 8, 11, 17 ]
         os: [ ubuntu-latest, macos-latest ]
     runs-on: ${{ matrix.os}}
 
diff --git a/.github/workflows/main-win.yml b/.github/workflows/main-win.yml
index 9ea7a61..68cedab 100644
--- a/.github/workflows/main-win.yml
+++ b/.github/workflows/main-win.yml
@@ -29,7 +29,7 @@ jobs:
       fail-fast: false
       max-parallel: 20
       matrix:
-        java: [8, 11, 16]
+        java: [8, 11, 17]
           # to reduce the CI time cost; we split the whole CI to 3 parts:
           # modules except the server and the cluster:
           #   -Diotdb.skip.test=true -Dcluster.skip.test=true
diff --git a/README.md b/README.md
index 01095ef..6f01726 100644
--- a/README.md
+++ b/README.md
@@ -87,7 +87,7 @@ This short guide will walk you through the basic process of using IoTDB. For a m
 
 To use IoTDB, you need to have:
 
-1. Java >= 1.8 (1.8, 11, and 16 are verified. Please make sure the environment path has been set accordingly).
+1. Java >= 1.8 (1.8, 11 to 17 are verified. Please make sure the environment path has been set accordingly).
 2. Maven >= 3.6 (If you want to compile and install IoTDB from source code).
 3. Set the max open files num as 65535 to avoid "too many open files" error.
 4. (Optional) Set the somaxconn as 65535 to avoid "connection reset" error when the system is under high load.
diff --git a/README_ZH.md b/README_ZH.md
index b357335..e394fd8 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -84,7 +84,7 @@ IoTDB的主要特点如下:
 ## 环境准备
 
 要使用IoTDB,您需要:
-1. Java >= 1.8 (目前 1.8、11和16 已经被验证可用。请确保环变量境路径已正确设置)。
+1. Java >= 1.8 (目前 1.8、11 到 17 已经被验证可用。请确保环变量境路径已正确设置)。
 2. Maven >= 3.6 (如果希望从源代码编译和安装IoTDB)。
 3. 设置 max open files 为 65535,以避免"too many open files"错误。
 4. (可选) 将 somaxconn 设置为 65535 以避免系统在高负载时出现 "connection reset" 错误。 
diff --git a/pom.xml b/pom.xml
index 3e312c2..7330d54 100644
--- a/pom.xml
+++ b/pom.xml
@@ -112,7 +112,7 @@
         <maven.assembly.version>3.1.0</maven.assembly.version>
         <scala.library.version>2.11</scala.library.version>
         <scala.version>2.11.12</scala.version>
-        <hadoop2.version>2.7.3</hadoop2.version>
+        <hadoop2.version>2.10.0</hadoop2.version>
         <hive2.version>2.3.6</hive2.version>
         <junit.version>4.12</junit.version>
         <slf4j.version>1.7.12</slf4j.version>
@@ -1083,7 +1083,7 @@
             </activation>
             <properties>
                 <maven.compiler.release>8</maven.compiler.release>
-                <argLine>--illegal-access=permit --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL [...]
+                <argLine>--illegal-access=permit --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.t [...]
             </properties>
         </profile>
         <!--