Skip to content

Commit d7f6e31

Browse files
authored
Merge branch 'master' into add-unit-tests-redshift
2 parents 5d32667 + 2f71b6f commit d7f6e31

File tree

151 files changed

+9714
-801
lines changed

Some content is hidden

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

151 files changed

+9714
-801
lines changed

.github/workflows/cut_release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ jobs:
1010
steps:
1111
- name: Setup dependencies
1212
run: |
13+
sudo apt update --fix-missing
1314
sudo apt-get install -y libxml2-utils python3
1415
pip3 install lxml beautifulsoup4
1516
1617
- name: Set up JDK 11
17-
uses: actions/setup-java@v4
18+
uses: actions/setup-java@v5
1819
with:
1920
distribution: 'corretto'
2021
java-version: '11'

.github/workflows/javadoc_sync.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
uses: actions/checkout@v5
1212

1313
- name: Set up JDK 11
14-
uses: actions/setup-java@v4
14+
uses: actions/setup-java@v5
1515
with:
1616
distribution: 'corretto'
1717
java-version: '11'

.github/workflows/maven_push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v5
2525
- name: Set up JDK 11
26-
uses: actions/setup-java@v4
26+
uses: actions/setup-java@v5
2727
with:
2828
distribution: 'corretto'
2929
java-version: '11'

.github/workflows/publish_to_maven_central.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
uses: actions/checkout@v5
1616

1717
- name: Set up Maven Central Repository
18-
uses: actions/setup-java@v4
18+
uses: actions/setup-java@v5
1919
with:
2020
java-version: '11'
2121
distribution: 'adopt'
@@ -26,7 +26,7 @@ jobs:
2626
gpg-passphrase: MAVEN_GPG_PASSPHRASE
2727

2828
- name: Publish to Apache Maven Central
29-
run: mvn clean deploy --batch-mode -Dmaven.compiler.release=11 -am -P release -pl ".,athena-federation-sdk,athena-dynamodb,athena-cloudwatch,athena-cloudwatch-metrics,athena-aws-cmdb,athena-jdbc,athena-mysql"
29+
run: mvn clean deploy --batch-mode -Dmaven.compiler.release=11 -am -P release -pl ".,athena-federation-sdk,athena-dynamodb,athena-cloudwatch,athena-cloudwatch-metrics,athena-aws-cmdb,athena-jdbc,athena-mysql,athena-oracle,athena-redshift,athena-postgresql"
3030
env:
3131
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
3232
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}

.github/workflows/run_release_tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
sudo apt update && sudo apt install -y tar gzip unzip wget less groff vim git python3 python3-pip unixodbc-dev curl jq;
1919
pip3 install boto3;
2020
- name: install node and npm
21-
uses: actions/setup-node@v4
21+
uses: actions/setup-node@v5
2222
with:
2323
node-version: 18
2424
- name: Set up JDK 11
25-
uses: actions/setup-java@v4
25+
uses: actions/setup-java@v5
2626
with:
2727
distribution: 'corretto'
2828
java-version: '11'
@@ -35,7 +35,7 @@ jobs:
3535
- name: Setup Repo Root Directory
3636
run: echo "REPOSITORY_ROOT=$GITHUB_WORKSPACE" >> $GITHUB_ENV
3737
- name: Setup AWS Cred
38-
uses: aws-actions/configure-aws-credentials@v4
38+
uses: aws-actions/configure-aws-credentials@v5
3939
with:
4040
aws-region: us-east-1
4141
role-duration-seconds: 18000

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ ARG JAVA_VERSION=11
33
# Use the specified version of Java
44
FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
55

6-
# Argument for Java tool options for ssl
7-
ARG JAVA_TOOL_OPTIONS="-Djavax.net.ssl.trustStore=/var/lang/lib/security/cacerts"
8-
# Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9-
ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
6+
# Argument for Java tool options
7+
ARG JAVA_TOOL_OPTIONS=""
8+
# Set the JAVA_TOOL_OPTIONS environment variable for Java 17 and always include default truststore to avoid SSL handshake issues
9+
ENV JAVA_TOOL_OPTIONS="-Djavax.net.ssl.trustStore=/var/lang/lib/security/cacerts ${JAVA_TOOL_OPTIONS}"
1010

1111
# Install necessary tools
1212
RUN yum update -y

athena-clickhouse/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<dependency>
2323
<groupId>com.clickhouse</groupId>
2424
<artifactId>clickhouse-jdbc</artifactId>
25-
<version>0.9.1</version>
25+
<version>0.9.2</version>
2626
<classifier>all</classifier>
2727
</dependency>
2828
<dependency>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
artifactId=zookeeper-jute
2+
groupId=org.apache.zookeeper
3+
version=3.9.4
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
artifactId=zookeeper
2+
groupId=org.apache.zookeeper
3+
version=3.9.4

athena-cloudera-hive/pom.xml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,17 @@
2727
<groupId>Hive</groupId>
2828
<artifactId>HiveJDBC42</artifactId>
2929
<version>${clouderaVersion}</version>
30+
<exclusions>
31+
<exclusion>
32+
<groupId>org.apache.zookeeper</groupId>
33+
<artifactId>zookeeper</artifactId>
34+
</exclusion>
35+
</exclusions>
36+
</dependency>
37+
<dependency>
38+
<groupId>org.apache.zookeeper</groupId>
39+
<artifactId>zookeeper</artifactId>
40+
<version>3.9.4</version>
3041
</dependency>
3142
<dependency>
3243
<groupId>com.amazonaws</groupId>
@@ -90,6 +101,14 @@
90101
<exclude>META-INF/*.RSA</exclude>
91102
</excludes>
92103
</filter>
104+
<filter>
105+
<artifact>Hive:HiveJDBC42</artifact>
106+
<excludes>
107+
<exclude>org/apache/zookeeper/**</exclude>
108+
<exclude>com/cloudera/hive/jdbc42/internal/apache/zookeeper/**</exclude>
109+
<exclude>META-INF/maven/org.apache.zookeeper/**</exclude>
110+
</excludes>
111+
</filter>
93112
</filters>
94113
<transformers>
95114
<!-- This transformer is here to concatenate log4j2 cache during shading -->
@@ -116,7 +135,7 @@
116135
<plugin>
117136
<groupId>org.jacoco</groupId>
118137
<artifactId>jacoco-maven-plugin</artifactId>
119-
<version>0.8.13</version>
138+
<version>0.8.14</version>
120139
<executions>
121140
<execution>
122141
<goals>

0 commit comments

Comments
 (0)