Skip to content

Commit

Permalink
Update dependencies (JUCX 1.12.1-rc3); Bump version to 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fruhland committed Mar 9, 2022
1 parent 8f1d17d commit 6c0042e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Transparent acceleration for Java NIO applications via [UCX](https://openucx.org
<p align="center">
<a href="https://travis-ci.com/github/hhu-bsinfo/hadroNIO"><img src="https://www.travis-ci.com/hhu-bsinfo/hadroNIO.svg?branch=main"></a>
<a href="https://openjdk.java.net/"><img src="https://img.shields.io/badge/java-8+-blue.svg"></a>
<a href="https://openucx.org/"><img src="https://img.shields.io/badge/ucx-1.12.1_rc2-blue.svg"></a>
<a href="https://openucx.org/"><img src="https://img.shields.io/badge/ucx-1.12.1_rc3-blue.svg"></a>
<a href="https://github.com/hhu-bsinfo/hadroNIO/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-GPLv3-orange.svg"></a>
</p>

Expand Down Expand Up @@ -41,19 +41,19 @@ cd hadroNIO/
./gradlew shadowJar
```

The JAR-file should now be located at `build/provider/libs/hadronio-0.2.0-SNAPSHOT-all.jar`.
The JAR-file should now be located at `build/provider/libs/hadronio-0.3.0-SNAPSHOT-all.jar`.

### Known issues

- Building hadroNIO with a Java version higher than 8, but then running it with Java 8 JVM results in a `java.lang.NoSuchMethodError`, regarding the class `java.nio.ByteBuffer`. This happens, because the `ByteBuffer` overrides methods of its super class `Buffer` in Java 9+, while it relies on the implementations provided by `Buffer` in Java 8. If you come across this error, make sure to both build an run hadroNIO using Java 8, or use a newer version of Java altogether.

## Run instructions

To run hadroNIO, **UCX 1.12.1-rc2** needs to be installed on your system. See the [OpenUCX GitHub Repository](https://github.com/openucx/ucx) for information on how to build and install UCX.
To run hadroNIO, **UCX 1.12.1-rc3** needs to be installed on your system. See the [OpenUCX GitHub Repository](https://github.com/openucx/ucx) for information on how to build and install UCX.

To accelerate an existing Java application (e.g. `application.jar`), the hadroNIO JAR-file needs to be included in the classpath. Additionally, the property `java.nio.channels.spi.SelectorProvider` must be set to `de.hhu.bsinfo.hadronio.HadronioProvider`:
```shell
java -cp path/to/hadronio-0.2.0-SNAPSHOT-all.jar -Djava.nio.channels.spi.SelectorProvider=de.hhu.bsinfo.hadronio.HadronioProvider -jar application.jar
java -cp path/to/hadronio-0.3.0-SNAPSHOT-all.jar -Djava.nio.channels.spi.SelectorProvider=de.hhu.bsinfo.hadronio.HadronioProvider -jar application.jar
```

### Enable logging
Expand Down Expand Up @@ -224,7 +224,7 @@ repositories {
}
dependencies {
implementation 'de.hhu.bsinfo:hadronio:0.2.0'
implementation 'de.hhu.bsinfo:hadronio:0.3.0'
}
```

Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
ext {
projectVersion = '0.2.0' + (Boolean.valueOf(System.getProperty('release')) ? '' : '-SNAPSHOT')
projectVersion = '0.3.0' + (Boolean.valueOf(System.getProperty('release')) ? '' : '-SNAPSHOT')

buildConfigVersion = '1.1.8'
gitVersionVersion = '0.12.2'
shadowVersion = '7.1.2'

jucxVersion = '1.12.1-rc2'
jucxVersion = '1.12.1-rc3'
infinileapVersion = '0.1.0-SNAPSHOT'
agronaVersion = '1.14.0'
picocliVersion = '4.6.3'
nettyVersion = '4.1.74.Final'
slf4jVersion = '1.7.36'
log4jVersion = '2.17.1'
log4jVersion = '2.17.2'
junitJupiterVersion = '5.8.2'
}

Expand Down

0 comments on commit 6c0042e

Please sign in to comment.