diff --git a/README.md b/README.md index 2c89a20..0ae1054 100644 --- a/README.md +++ b/README.md @@ -37,9 +37,9 @@ ## Dependencies Following dependencies are downloaded automatically: -* Aerospike Java client 7.2.1 or greater -* Apache commons cli 1.6.0 -* Log4j 2.21.0 +* Aerospike Java client 7.2.2 or greater +* Apache commons cli 1.7.0 +* Log4j 2.22.1 * Junit 4.13.1 * Json-simple 1.1.1 diff --git a/doc/releasenotes.md b/doc/releasenotes.md index 2be7233..cf2a2f4 100644 --- a/doc/releasenotes.md +++ b/doc/releasenotes.md @@ -101,4 +101,13 @@ ## Bug Fixes: * TOOLS-2826 \(ASLOADER\) Fixed an issue where ldap users fail read-write role validation. -Asloader no longer checks if the Aerospike user has read-write permissions before beginning writes. \ No newline at end of file +Asloader no longer checks if the Aerospike user has read-write permissions before beginning writes. + +## Aerospike Loader [4.0.3] Release Date [7 Aug 2024] +## Security +* [Snyk] fix: upgrade org.apache.logging.log4j:log4j-core from 2.21.0 to 2.22.1 +* [Snyk] fix: upgrade org.apache.logging.log4j:log4j-api from 2.21.0 to 2.22.1 +* [Snyk] fix: upgrade org.apache.logging.log4j:log4j-api from 2.21.0 to 2.22.1 + +## Bug Fixes: +* [TOOLS-2690] \(ASLOADER\) Set client policy maxConnsPerNode to the max amount of worker threads to prevent out of connection errors. \ No newline at end of file diff --git a/pom.xml b/pom.xml index 8ed117a..2f69d97 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.aerospike aerospike-load - 4.0.2 + 4.0.3 Aerospike DSV Loader jar diff --git a/src/main/java/com/aerospike/load/AerospikeLoad.java b/src/main/java/com/aerospike/load/AerospikeLoad.java index 2dc0a23..baa39e3 100644 --- a/src/main/java/com/aerospike/load/AerospikeLoad.java +++ b/src/main/java/com/aerospike/load/AerospikeLoad.java @@ -212,7 +212,7 @@ public static void main(String[] args) throws IOException { } // Remove column definition file from list. if directory containing config file is passed. - String columnDefinitionFileName = cl.getOptionValue("c", null); + String columnDefinitionFileName = cl.getOptionValue("c", ""); dataFileNames.remove(columnDefinitionFileName); log.info("Number of data files:" + dataFileNames.size()); diff --git a/src/test/java/com/aerospike/load/DataTypeTest.java b/src/test/java/com/aerospike/load/DataTypeTest.java index 23fad80..dd2eb3c 100644 --- a/src/test/java/com/aerospike/load/DataTypeTest.java +++ b/src/test/java/com/aerospike/load/DataTypeTest.java @@ -50,7 +50,7 @@ enum BinType { public class DataTypeTest { String host = "127.0.0.1"; - String port = "3000"; + String port = "3100"; String ns = "test"; String set = null; MapOrder expectedMapOrder = MapOrder.KEY_ORDERED;