You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2019/09/29 13:30:25 UTC

[incubator-iotdb] branch rel/0.8 updated (c74eb50 -> f9c219c)

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

hxd pushed a change to branch rel/0.8
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git.


    from c74eb50  revert to 0.8.1-SNAPSHOT version
     new 1b0c351  add apache-rat for .checkstyle file
     new f9c219c  remove jdk version constrain for jdk8 and 11. (now only jdk<1.8u40 is forbidden)

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .checkstyle                                     | 20 ++++++++++++++++++++
 README.md                                       | 15 +++++++++------
 pom.xml                                         |  2 --
 server/src/assembly/resources/conf/iotdb-env.sh |  6 +-----
 4 files changed, 30 insertions(+), 13 deletions(-)


[incubator-iotdb] 02/02: remove jdk version constrain for jdk8 and 11. (now only jdk<1.8u40 is forbidden)

Posted by hx...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hxd pushed a commit to branch rel/0.8
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit f9c219ca35475348928137168ef9fd367a12989a
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Sun Sep 29 21:17:43 2019 +0800

    remove jdk version constrain for jdk8 and 11. (now only jdk<1.8u40 is forbidden)
---
 README.md                                       | 15 +++++++++------
 server/src/assembly/resources/conf/iotdb-env.sh |  6 +-----
 2 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/README.md b/README.md
index 11074c8..6a35654 100644
--- a/README.md
+++ b/README.md
@@ -50,13 +50,16 @@ For the latest information about IoTDB, please visit our [IoTDB official website
 
 # Prerequisites
 
-IoTDB requires Java (>= 1.8).
-To use IoTDB, JRE should be installed. To compile IoTDB, JDK should be installed.
+1. Java >= 1.8 (1.8, 11, and 13 are verified. Please make sure the environment path has been set.)
 
-If you want to compile and install IoTDB from source code, JDK and Maven (>= 3.1) are required.
-While Maven is not mandatory to be installed standalone, you can use the provided Maven wrapper, `./mvnw.sh` on Linux/OS X or `.\mvnw.cmd` on Windows, to facilitate development.
+    * To use IoTDB, JRE should be installed. To compile IoTDB, JDK should be installed.
+
+2. Maven >= 3.1 (If you want to compile and install IoTDB from source code)
+
+    * While Maven is not mandatory to be installed standalone, you can use the provided Maven wrapper, `./mvnw.sh` on Linux/OS X or `.\mvnw.cmd` on Windows, to facilitate development.
+
+3. Set the max open files num as 65535 to avoid "too many open files" problem.
 
-If you want to use Hadoop or Spark to analyze IoTDB data file (called as TsFile), you need to compile the hadoop and spark modules.
 
 # Quick Start
 
@@ -314,4 +317,4 @@ CREATE TIMESERIES root.fit.p.s1 WITH DATATYPE=INT32,ENCODING=RLE;
 
 # Windows
 > $IOTDB_CLI_HOME\tools\export-csv.bat -h <ip> -p <port> -u <username> -pw <password> -td <xxx.csv> [-tf <time-format>]
-```
\ No newline at end of file
+```
diff --git a/server/src/assembly/resources/conf/iotdb-env.sh b/server/src/assembly/resources/conf/iotdb-env.sh
index 80069cc..df4a574 100755
--- a/server/src/assembly/resources/conf/iotdb-env.sh
+++ b/server/src/assembly/resources/conf/iotdb-env.sh
@@ -117,10 +117,6 @@ else
   IOTDB_JMX_OPTS="$IOTDB_JMX_OPTS -Xloggc:${IOTDB_HOME}/gc.log"
 fi
 
-if [ "$MAJOR_VERSION" -ne "8" ] && [ "$MAJOR_VERSION" -ne "11" ] ; then
-  echo "IoTDB only supports jdk8 or jdk11, please check your java version."
-  exit 1;
-fi
 
 
 calculate_heap_sizes
@@ -147,4 +143,4 @@ IOTDB_JMX_OPTS="$IOTDB_JMX_OPTS -Xms${HEAP_NEWSIZE}"
 IOTDB_JMX_OPTS="$IOTDB_JMX_OPTS -Xmx${MAX_HEAP_SIZE}"
 
 echo "Maximum memory allocation pool = ${MAX_HEAP_SIZE}B, initial memory allocation pool = ${HEAP_NEWSIZE}B"
-echo "If you want to change this configuration, please check conf/iotdb-env.sh(Unix or OS X, if you use Windows, check conf/iotdb-env.bat)."
\ No newline at end of file
+echo "If you want to change this configuration, please check conf/iotdb-env.sh(Unix or OS X, if you use Windows, check conf/iotdb-env.bat)."


[incubator-iotdb] 01/02: add apache-rat for .checkstyle file

Posted by hx...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hxd pushed a commit to branch rel/0.8
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit 1b0c3515489d487150340324e2469e597bef30b4
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Sun Sep 29 21:22:19 2019 +0800

    add apache-rat for .checkstyle file
---
 .checkstyle | 20 ++++++++++++++++++++
 pom.xml     |  2 --
 2 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/.checkstyle b/.checkstyle
index c3770a3..8cb2e95 100644
--- a/.checkstyle
+++ b/.checkstyle
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
 
 <fileset-config file-format-version="1.2.0" simple-config="true" sync-formatter="false">
   <local-check-config name="google" location="checkstyle.xml" type="project" description="">
diff --git a/pom.xml b/pom.xml
index b2f5616..d90c917 100644
--- a/pom.xml
+++ b/pom.xml
@@ -462,8 +462,6 @@
                             <exclude>licenses/*</exclude>
                             <!-- generated by Github -->
                             <exclude>.github/**</exclude>
-                            <!--Checkstyle files -->
-                            <exclude>.checkstyle</exclude>
                             <!--Generated by Apache Release -->
                             <exclude>local-snapshots-dir/**</exclude>
                             <!-- JSON can't contain comments and therefore no Apache header -->