Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Change build instruction for JDK (#61)
Browse files Browse the repository at this point in the history
This PR change build instruction for JDK as we have a build error using JDK 13. This PR also fixes a grammar issue in the log message.
  • Loading branch information
kaituo authored Mar 12, 2020
1 parent d14a2d4 commit 657aae2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Please see our [documentation](https://opendistro.github.io/for-elasticsearch-do

1. Checkout source code of this package from Github repo.
1. Launch Intellij IDEA, Choose Import Project and select the settings.gradle file in the root of this package.
1. To build from command line set JAVA_HOME to point to a JDK >=12 before running ./gradlew
1. To build from command line set JAVA_HOME to point to a JDK 12 before running ./gradlew

* Unix System
* export JAVA_HOME=jdk-install-dir: Replace jdk-install-dir by the JAVA_HOME directory of your system.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ private void handleThresholdResult() {
}

private void handlePredictionFailure(Exception e, String adID, String nodeID, AtomicReference<AnomalyDetectionException> failure) {
LOG.error(new ParameterizedMessage("Received an error from node {} when fetch anomaly grade for {}", nodeID, adID), e);
LOG.error(new ParameterizedMessage("Received an error from node {} while fetching anomaly grade for {}", nodeID, adID), e);
if (e == null) {
return;
}
Expand Down

0 comments on commit 657aae2

Please sign in to comment.