Skip to content

Commit c165b9a

Browse files
authored
Merge branch 'master' into add_unit_tests_jdbc
2 parents 1669596 + 373ee56 commit c165b9a

File tree

28 files changed

+93
-74
lines changed

28 files changed

+93
-74
lines changed

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-cloudera-hive/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
<plugin>
136136
<groupId>org.jacoco</groupId>
137137
<artifactId>jacoco-maven-plugin</artifactId>
138-
<version>0.8.13</version>
138+
<version>0.8.14</version>
139139
<executions>
140140
<execution>
141141
<goals>

athena-cloudera-impala/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
<dependency>
7171
<groupId>com.github.spotbugs</groupId>
7272
<artifactId>spotbugs-annotations</artifactId>
73-
<version>4.9.4</version>
73+
<version>4.9.7</version>
7474
<scope>compile</scope>
7575
</dependency>
7676
</dependencies>
@@ -117,7 +117,7 @@
117117
<plugin>
118118
<groupId>org.jacoco</groupId>
119119
<artifactId>jacoco-maven-plugin</artifactId>
120-
<version>0.8.13</version>
120+
<version>0.8.14</version>
121121
<executions>
122122
<execution>
123123
<goals>

athena-cloudwatch/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<dependency>
3333
<groupId>software.amazon.awssdk</groupId>
3434
<artifactId>cloudwatchlogs</artifactId>
35-
<version>2.33.8</version>
35+
<version>2.35.8</version>
3636
<exclusions>
3737
<!-- replaced with jcl-over-slf4j -->
3838
<exclusion>

athena-db2-as400/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<dependency>
3232
<groupId>net.sf.jt400</groupId>
3333
<artifactId>jt400</artifactId>
34-
<version>21.0.5</version>
34+
<version>21.0.6</version>
3535
</dependency>
3636
<!-- https://mvnrepository.com/artifact/software.amazon.awssdk/rds -->
3737
<dependency>

athena-docdb/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 and for ssl
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-dynamodb/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
<plugin>
120120
<groupId>org.apache.maven.plugins</groupId>
121121
<artifactId>maven-dependency-plugin</artifactId>
122-
<version>3.8.1</version>
122+
<version>3.9.0</version>
123123
<executions>
124124
<execution>
125125
<id>copy</id>

athena-dynamodb/src/main/java/com/amazonaws/athena/connectors/dynamodb/resolver/DynamoDBTableResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public DynamoDBTable getTableMetadata(String tableName,
151151
return DDBTableUtils.getTable(caseInsensitiveMatch.get(), invoker, ddbClient, awsRequestOverrideConfiguration);
152152
}
153153
else {
154-
throw e;
154+
throw new AthenaConnectorException(e.getMessage(), ErrorDetails.builder().errorCode(FederationSourceErrorCode.ENTITY_NOT_FOUND_EXCEPTION.toString()).build());
155155
}
156156
}
157157
}

athena-elasticsearch/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
<dependency>
7474
<groupId>org.elasticsearch.client</groupId>
7575
<artifactId>elasticsearch-rest-client</artifactId>
76-
<version>9.1.3</version>
76+
<version>9.1.5</version>
7777
</dependency>
7878
<!-- https://mvnrepository.com/artifact/org.elasticsearch.client/elasticsearch-rest-high-level-client -->
7979
<dependency>

athena-federation-integ-test/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
<groupId>org.apache.commons</groupId>
118118
<artifactId>commons-lang3</artifactId>
119119
<!--- to meet engine version 3.12.0-->
120-
<version>3.18.0</version>
120+
<version>3.19.0</version>
121121
</dependency>
122122
</dependencies>
123123
<build>

0 commit comments

Comments
 (0)