This is an automated email from the ASF dual-hosted git repository.
lta pushed a commit to branch lta_example_akka_cluster
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/lta_example_akka_cluster by
this push:
new 86bf9ca add ASF header
86bf9ca is described below
commit 86bf9ca4b34bb8973bd9581349470b370bfb1555
Author: lta <[email protected]>
AuthorDate: Mon Mar 4 10:58:08 2019 +0800
add ASF header
---
iotdb/iotdb/conf/iotdb_cluster.conf | 18 ++++++++++++++++++
iotdb/pom.xml | 9 +++++----
.../org/apache/iotdb/db/cluster/IoTDBClustetr.java | 22 +++++++++++++---------
.../org/apache/iotdb/db/cluster/IoTDBNode.java | 18 ++++++++++++++++++
4 files changed, 54 insertions(+), 13 deletions(-)
diff --git a/iotdb/iotdb/conf/iotdb_cluster.conf
b/iotdb/iotdb/conf/iotdb_cluster.conf
index 60f2011..23317cf 100644
--- a/iotdb/iotdb/conf/iotdb_cluster.conf
+++ b/iotdb/iotdb/conf/iotdb_cluster.conf
@@ -1,3 +1,21 @@
+#
+# 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.
+#
akka {
actor {
provider = "cluster"
diff --git a/iotdb/pom.xml b/iotdb/pom.xml
index b2c80c9..0c206d1 100644
--- a/iotdb/pom.xml
+++ b/iotdb/pom.xml
@@ -31,6 +31,7 @@
<name>IoTDB</name>
<properties>
<antlr3.version>3.5.2</antlr3.version>
+ <akka.version>2.5.20</akka.version>
<common.lang3.version>3.8.1</common.lang3.version>
<iotdb.test.skip>false</iotdb.test.skip>
<iotdb.it.skip>${iotdb.test.skip}</iotdb.it.skip>
@@ -73,22 +74,22 @@
<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-cluster-tools_2.12</artifactId>
- <version>2.5.20</version>
+ <version>${akka.version}</version>
</dependency>
<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-cluster-metrics_2.12</artifactId>
- <version>2.5.20</version>
+ <version>${akka.version}</version>
</dependency>
<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-protobuf_2.11</artifactId>
- <version>2.5.20</version>
+ <version>${akka.version}</version>
</dependency>
<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-stream_2.11</artifactId>
- <version>2.5.20</version>
+ <version>${akka.version}</version>
</dependency>
</dependencies>
<build>
diff --git a/iotdb/src/main/java/org/apache/iotdb/db/cluster/IoTDBClustetr.java
b/iotdb/src/main/java/org/apache/iotdb/db/cluster/IoTDBClustetr.java
index d431584..e82497f 100644
--- a/iotdb/src/main/java/org/apache/iotdb/db/cluster/IoTDBClustetr.java
+++ b/iotdb/src/main/java/org/apache/iotdb/db/cluster/IoTDBClustetr.java
@@ -1,15 +1,19 @@
/**
- * 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
+ * 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
+ * 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
+ * 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.
*/
package org.apache.iotdb.db.cluster;
diff --git a/iotdb/src/main/java/org/apache/iotdb/db/cluster/IoTDBNode.java
b/iotdb/src/main/java/org/apache/iotdb/db/cluster/IoTDBNode.java
index 24fbd75..68334b0 100644
--- a/iotdb/src/main/java/org/apache/iotdb/db/cluster/IoTDBNode.java
+++ b/iotdb/src/main/java/org/apache/iotdb/db/cluster/IoTDBNode.java
@@ -1,3 +1,21 @@
+/**
+ * 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.
+ */
package org.apache.iotdb.db.cluster;
import akka.actor.AbstractActor;