Skip to content

Commit

Permalink
Apply review findings and prepare for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
morazow committed Mar 26, 2021
1 parent 7bc00a0 commit 12ef838
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
12 changes: 10 additions & 2 deletions doc/changes/changes_1.1.0.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Cloud Storage Extension 1.1.0, released 2021-MM-DD
# Cloud Storage Extension 1.1.0, released 2021-02-26

Code name:
Code Name: v1.1.0 - Added support for Alluxio and HDFS filesystems

## Summary

The release `1.1.0` offers support for Alluxio and Hadoop Distributed Filesystem
(HDFS) filesystems. We also fixed bug in Parquet dictionary encoded decimal
converter and improved the documentation.

## Features

Expand All @@ -19,6 +25,8 @@ Code name:

### Runtime Dependency Updates

* Updated `org.apache.parquet:parquet-hadoop:1.11.1` to `1.12.0`

### Test Dependency Updates

* Added `org.apache.hadoop:hadoop-hdfs:3.3.0`
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ object Dependencies {
private val HadoopVersion = "3.3.0"
private val DeltaVersion = "0.7.0"
private val OrcVersion = "1.6.7"
private val ParquetVersion = "1.11.1"
private val ParquetVersion = "1.12.0"
private val GoogleStorageVersion = "1.9.4-hadoop3"
private val SparkSQLVersion = "3.0.1"
private val AlluxioCoreHDFSVersion = "2.5.0"
Expand Down
12 changes: 11 additions & 1 deletion src/it/scala/com/exasol/cloudetl/BaseS3IntegrationTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ trait BaseS3IntegrationTest extends BaseIntegrationTest {
val s3Endpoint = s3Container
.getEndpointConfiguration(S3)
.getServiceEndpoint()
.replaceAll("127.0.0.1", "172.17.0.1")
.replaceAll("127.0.0.1", getS3ContainerNetworkGatewayAddress())
executeStmt(
s"""|IMPORT INTO ${table.getFullyQualifiedName()}
|FROM SCRIPT $schemaName.IMPORT_PATH WITH
Expand All @@ -81,4 +81,14 @@ trait BaseS3IntegrationTest extends BaseIntegrationTest {
)
}

private[this] def getS3ContainerNetworkGatewayAddress(): String =
s3Container
.getContainerInfo()
.getNetworkSettings()
.getNetworks()
.values()
.iterator()
.next()
.getGateway()

}

0 comments on commit 12ef838

Please sign in to comment.