Skip to content

Commit

Permalink
Update & add dependency for internal purposes
Browse files Browse the repository at this point in the history
* Let httpClient version to 4.5.11
* Let aws java sdk version to 1.11.1014
* Set default timezone as `Asia/Seoul` in dockerfile
  • Loading branch information
kimtkyeom authored and kajebiii committed Jan 10, 2022
1 parent 5d45a41 commit 2d18e8a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
<!-- the producer is used in tests -->
<aws.kinesis.producer.version>0.12.8</aws.kinesis.producer.version>
<!-- org.apache.httpcomponents/httpclient-->
<commons.httpclient.version>4.5.13</commons.httpclient.version>
<commons.httpclient.version>4.5.11</commons.httpclient.version>
<commons.httpcore.version>4.4.14</commons.httpcore.version>
<commons.math3.version>3.4.1</commons.math3.version>
<!-- managed up from 3.2.1 for SPARK-11652 -->
Expand Down Expand Up @@ -283,6 +283,9 @@
<CodeCacheSize>128m</CodeCacheSize>
<!-- Needed for consistent times -->
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss z</maven.build.timestamp.format>

<!-- Needed for aws java sdk bundle version -->
<aws.java.sdk.bundle.version>1.11.1014</aws.java.sdk.bundle.version>
</properties>
<repositories>
<repository>
Expand Down Expand Up @@ -2508,6 +2511,12 @@
<artifactId>arpack</artifactId>
<version>${netlib.ludovic.dev.version}</version>
</dependency>
<!-- AWS java sdk version을 최신화 하기 위해 최 상단에 dependency 정의-->
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-bundle</artifactId>
<version>${aws.java.sdk.bundle.version}</version>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ FROM openjdk:${java_image_tag}

ARG spark_uid=185

# (kimtkyeom) Set timezone to Asia/Seoul
ENV TZ Asia/Seoul

# Before building the docker image, first build and make a Spark distribution following
# the instructions in http://spark.apache.org/docs/latest/building-spark.html.
# If this docker file is being used in the context of building your images from a Spark
Expand Down

0 comments on commit 2d18e8a

Please sign in to comment.