Support HDFS as a data store
Issue-ID: DCAEGEN2-1498
Change-Id: Id203275bce01bd4a4d6ec131fb9696d78eda82f5
Signed-off-by: Guobiao Mo <guobiaomo@chinamobile.com>
diff --git a/components/datalake-handler/pom.xml b/components/datalake-handler/pom.xml
index 671c56c..da02f2e 100644
--- a/components/datalake-handler/pom.xml
+++ b/components/datalake-handler/pom.xml
@@ -4,23 +4,23 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.onap.oparent</groupId>
- <artifactId>oparent</artifactId>
- <version>1.2.3</version>
- </parent>
-
+ <parent>
+ <groupId>org.onap.oparent</groupId>
+ <artifactId>oparent</artifactId>
+ <version>1.2.3</version>
+ </parent>
+
<groupId>org.onap.dcaegen2.services.components</groupId>
<artifactId>datalake-handler</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
-
+
<name>dcaegen2-service-datalake-handler</name>
<modules>
<module>feeder</module>
- <module>admin</module>
- <module>collector</module>
+ <module>admin</module>
+ <module>collector</module>
</modules>
<properties>
@@ -34,6 +34,7 @@
<jackson.version>2.9.8</jackson.version>
<kafka.version>2.0.0</kafka.version>
<elasticsearchjava.version>7.0.0</elasticsearchjava.version>
+ <hadoop.version>3.2.0</hadoop.version>
</properties>
@@ -41,9 +42,15 @@
<dependencies>
<dependency>
- <groupId>org.mariadb.jdbc</groupId>
- <artifactId>mariadb-java-client</artifactId>
- <version>2.4.1</version>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-client</artifactId>
+ <version>${hadoop.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.mariadb.jdbc</groupId>
+ <artifactId>mariadb-java-client</artifactId>
+ <version>2.4.1</version>
</dependency>
<dependency>
@@ -150,13 +157,13 @@
<version>${springboot.version}</version>
</dependency>
<!-- end::actuator[] -->
-
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-jpa</artifactId>
+
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-data-jpa</artifactId>
<version>${springboot.version}</version>
- </dependency>
-
+ </dependency>
+
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-couchbase</artifactId>