Skip to content

Commit b46ad9e

Browse files
authored
Upgrade Spark to 3.4.3 and Hive to 3.1.3 (#2231)
* Upgrade Spark to 3.4.3 and Hive to 3.1.3 * Update shas
1 parent 7913087 commit b46ad9e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+81
-24
lines changed

buildSrc/src/main/groovy/org/elasticsearch/hadoop/gradle/fixture/hadoop/services/HiveServiceDescriptor.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class HiveServiceDescriptor implements ServiceDescriptor {
6060

6161
@Override
6262
Version defaultVersion() {
63-
return new Version(3, 1, 2)
63+
return new Version(3, 1, 3)
6464
}
6565

6666
@Override

buildSrc/src/main/groovy/org/elasticsearch/hadoop/gradle/fixture/hadoop/services/SparkYarnServiceDescriptor.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class SparkYarnServiceDescriptor implements ServiceDescriptor {
5656

5757
@Override
5858
Version defaultVersion() {
59-
return new Version(3, 4, 2)
59+
return new Version(3, 4, 3)
6060
}
6161

6262
String hadoopVersionCompatibility() {

dist/licenses/hive-exec-3.1.2.jar.sha1

-1
This file was deleted.
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6cf7f97e1438f94f196b7fb480d5d985a04336a9

dist/licenses/hive-metastore-3.1.2.jar.sha1

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
99a1348743f3550dd4524408725efab8eb319960

dist/licenses/hive-service-3.1.2.jar.sha1

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
49fd7ad46801a895d2b185706637a8cb302fc044

gradle.properties

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ hadoop2Version = 2.7.6
2020
hadoop22Version = 2.2.0
2121

2222
# Common libraries
23-
hiveVersion = 3.1.2
23+
hiveVersion = 3.1.3
2424
# note the versions here are tied to the ones in Hadoop distro - 1.8.8
2525
jacksonVersion = 1.8.8
2626

@@ -29,7 +29,7 @@ spark13Version = 1.6.2
2929
spark20Version = 2.3.0
3030
spark22Version = 2.2.3
3131
spark24Version = 2.4.4
32-
spark30Version = 3.4.2
32+
spark30Version = 3.4.3
3333

3434
# same as Spark's
3535
scala210Version = 2.10.7
@@ -45,7 +45,7 @@ scala213MajorVersion = 2.13
4545
junitVersion = 4.11
4646
mockitoVersion = 1.8.5
4747
hamcrestVersion = 1.3
48-
minikdcVersion = 2.7.7
48+
minikdcVersion = 3.4.0
4949
antlrVersion = 3.4
5050
thriftVersion = 0.5.0
5151

hive/licenses/hive-exec-3.1.2.jar.sha1

-1
This file was deleted.
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6cf7f97e1438f94f196b7fb480d5d985a04336a9

hive/licenses/hive-metastore-3.1.2.jar.sha1

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
99a1348743f3550dd4524408725efab8eb319960

hive/licenses/hive-service-3.1.2.jar.sha1

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
49fd7ad46801a895d2b185706637a8cb302fc044

licenses/hive-exec-3.1.2.jar.sha1

-1
This file was deleted.

licenses/hive-exec-3.1.3.jar.sha1

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6cf7f97e1438f94f196b7fb480d5d985a04336a9

licenses/hive-metastore-3.1.2.jar.sha1

-1
This file was deleted.
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
99a1348743f3550dd4524408725efab8eb319960

licenses/hive-service-3.1.2.jar.sha1

-1
This file was deleted.

licenses/hive-service-3.1.3.jar.sha1

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
49fd7ad46801a895d2b185706637a8cb302fc044

licenses/spark-catalyst_2.12-3.4.2.jar.sha1

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
86d1ed1f60a0e5855aeca82e18d04b3acd410439

licenses/spark-core_2.12-3.4.2.jar.sha1

-1
This file was deleted.
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6f7105e792cbb650eca44890f0444720bd6a8204

licenses/spark-sql_2.12-3.4.2.jar.sha1

-1
This file was deleted.
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a28ead1aa19899654296a6f8a458f8f207f89a73

licenses/spark-streaming_2.12-3.4.2.jar.sha1

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
e4a9f76eff1db09c67f855cdf60cd83bbfad69ab

licenses/spark-yarn_2.12-3.4.2.jar.sha1

-1
This file was deleted.
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0c8dd1e45fbc589d2438a889c7fe98f0e9fd77ec
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
# Notice:
17+
# Modified for keytab login - Changes listed between ++Change and ==Change comments.
18+
# Previous lines commented out.
19+
20+
# Need arguments [host [port [db]]]
21+
THISSERVICE=beeline
22+
export SERVICE_LIST="${SERVICE_LIST}${THISSERVICE} "
23+
24+
beeline () {
25+
# ++Change the class to SecureBeeline wrapper
26+
# CLASS=org.apache.hive.beeline.BeeLine;
27+
CLASS=org.elasticsearch.hadoop.qa.kerberos.hive.SecureBeeline;
28+
BEELINECLASS=org.apache.hive.beeline.BeeLine;
29+
30+
# add our test jar path for ES-Hadoop
31+
testJarPath=`ls ${TEST_LIB}`
32+
# ==Change
33+
34+
# include only the beeline client jar and its dependencies
35+
beelineJarPath=`ls ${HIVE_LIB}/hive-beeline-*.jar`
36+
superCsvJarPath=`ls ${HIVE_LIB}/super-csv-*.jar`
37+
jlineJarPath=`ls ${HIVE_LIB}/jline-*.jar`
38+
hadoopClasspath=""
39+
if [[ -n "${HADOOP_CLASSPATH}" ]]
40+
then
41+
hadoopClasspath="${HADOOP_CLASSPATH}:"
42+
fi
43+
# ++Change the classpath to include our test jar
44+
# export HADOOP_CLASSPATH="${hadoopClasspath}${HIVE_CONF_DIR}:${beelineJarPath}:${superCsvJarPath}:${jlineJarPath}"
45+
export HADOOP_CLASSPATH="${hadoopClasspath}${HIVE_CONF_DIR}:${testJarPath}:${beelineJarPath}:${superCsvJarPath}:${jlineJarPath}"
46+
# ==Change
47+
export HADOOP_CLIENT_OPTS="$HADOOP_CLIENT_OPTS -Dlog4j.configurationFile=beeline-log4j2.properties "
48+
49+
# ++Change the execution to run our class which will in turn run the Beeline class
50+
# exec $HADOOP jar ${beelineJarPath} $CLASS $HIVE_OPTS "$@"
51+
exec $HADOOP jar ${testJarPath} $CLASS $BEELINECLASS $HIVE_OPTS "$@"
52+
# ==Change
53+
}
54+
55+
beeline_help () {
56+
beeline "--help"
57+
}

spark/sql-30/licenses/spark-catalyst_2.12-3.4.2.jar.sha1

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
86d1ed1f60a0e5855aeca82e18d04b3acd410439

spark/sql-30/licenses/spark-core_2.12-3.4.2.jar.sha1

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6f7105e792cbb650eca44890f0444720bd6a8204

spark/sql-30/licenses/spark-sql_2.12-3.4.2.jar.sha1

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a28ead1aa19899654296a6f8a458f8f207f89a73

spark/sql-30/licenses/spark-streaming_2.12-3.4.2.jar.sha1

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
e4a9f76eff1db09c67f855cdf60cd83bbfad69ab

spark/sql-30/licenses/spark-yarn_2.12-3.4.2.jar.sha1

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0c8dd1e45fbc589d2438a889c7fe98f0e9fd77ec

0 commit comments

Comments
 (0)