From 7415b7b89844aab743b30d5507041f9229c3b54d Mon Sep 17 00:00:00 2001 From: Hongze Zhang Date: Tue, 27 Apr 2021 09:02:54 +0800 Subject: [PATCH] [NSE-276] Add option to switch Hadoop version (#277) Closes #276 --- arrow-data-source/pom.xml | 86 ++++++++++++++++------------------ native-sql-engine/core/pom.xml | 4 -- pom.xml | 15 ++++++ 3 files changed, 55 insertions(+), 50 deletions(-) diff --git a/arrow-data-source/pom.xml b/arrow-data-source/pom.xml index fa6553045..9ccbd7be7 100644 --- a/arrow-data-source/pom.xml +++ b/arrow-data-source/pom.xml @@ -3,7 +3,7 @@ com.intel.oap native-sql-engine-parent 1.1.0 - + 4.0.0 com.intel.oap @@ -18,12 +18,6 @@ parquet - 2.12.10 - 2.12 - 3.0.0 - 3.0.0 - UTF-8 - UTF-8 ${arrow.script.dir} ${cpp_tests} ${build_arrow} @@ -49,44 +43,44 @@ - org.apache.hadoop - hadoop-aws - 2.7.3 - - - com.fasterxml.jackson.core - jackson-core - - - com.fasterxml.jackson.core - jackson-annotations - - - com.fasterxml.jackson.core - jackson-databind - - - javax.servlet - servlet-api - - - com.sun.jersey - jersey-core - - - com.sun.jersey - jersey-json - - - com.sun.jersey - jersey-server - - - commons-httpclient - commons-httpcore - - - + org.apache.hadoop + hadoop-aws + ${hadoop.version} + + + com.fasterxml.jackson.core + jackson-core + + + com.fasterxml.jackson.core + jackson-annotations + + + com.fasterxml.jackson.core + jackson-databind + + + javax.servlet + servlet-api + + + com.sun.jersey + jersey-core + + + com.sun.jersey + jersey-json + + + com.sun.jersey + jersey-server + + + commons-httpclient + commons-httpcore + + + org.apache.httpcomponents httpcore @@ -182,7 +176,7 @@ bash - ${script.dir}/build_arrow.sh + ${script.dir}/build_arrow.sh --tests=${datasource.cpp_tests} --build_arrow=${datasource.build_arrow} --static_arrow=${datasource.static_arrow} diff --git a/native-sql-engine/core/pom.xml b/native-sql-engine/core/pom.xml index fba2ef075..e1340ca08 100644 --- a/native-sql-engine/core/pom.xml +++ b/native-sql-engine/core/pom.xml @@ -30,10 +30,6 @@ ../cpp/ ../cpp/build/releases/ - 3.0.0 - 3.0.0 - 2.12 - 2.12.10 none package provided diff --git a/pom.xml b/pom.xml index da47c3ff3..b1ef64276 100644 --- a/pom.xml +++ b/pom.xml @@ -30,6 +30,13 @@ + 2.12.10 + 2.12 + 3.0.0 + 3.0.0 + 2.7.4 + UTF-8 + UTF-8 ${project.basedir}/script OFF ON @@ -44,4 +51,12 @@ native-sql-engine/core + + + hadoop-3.2 + + 3.2.0 + + +