Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix arm architecture translation issue #809

Merged
merged 1 commit into from
Jun 4, 2021

Conversation

peternied
Copy link
Member

Description

Found when attempting to build on an arm64 machine when I recieved an error message below. Root cause is that string equality in java cannot be done with the == sign.

unknown architecture [arm64] for jdk [provisioned_runtime], must be one of [aarch64, x64]

Issues Resolved

Fixes arm64 build issue

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Found when attempting to build on an `arm64` machine when I recieved an error message below.  Root cause is that string equality in java cannot be done with the `==` sign.

```
unknown architecture [arm64] for jdk [provisioned_runtime], must be one of [aarch64, x64]
```

Signed-off-by: Peter Nied <[email protected]>
@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Wrapper Validation success 6ac7255

@opensearch-ci-bot
Copy link
Collaborator

✅   DCO Check Passed 6ac7255

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Precommit success 6ac7255

@saratvemulapalli
Copy link
Member

saratvemulapalli commented Jun 4, 2021

start gradle check

Copy link
Member

@saratvemulapalli saratvemulapalli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Peter.
I just learned the difference between == and .equals() :)
Ref: https://www.tutorialspoint.com/differences-between-and-equals-method-in-java

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Check success 6ac7255
Log 225

Reports 225

@saratvemulapalli saratvemulapalli added the pending backport Identifies an issue or PR that still needs to be backported label Jun 4, 2021
@saratvemulapalli saratvemulapalli merged commit 74f29c7 into opensearch-project:main Jun 4, 2021
peternied added a commit to peternied/OpenSearch-1 that referenced this pull request Jul 1, 2021
Found when attempting to build on an `arm64` machine when I recieved an error message below.  Root cause is that string equality in java cannot be done with the `==` sign.

```
unknown architecture [arm64] for jdk [provisioned_runtime], must be one of [aarch64, x64]
```

Signed-off-by: Peter Nied <[email protected]>
peternied added a commit that referenced this pull request Jul 2, 2021
Found when attempting to build on an `arm64` machine when I recieved an error message below.  Root cause is that string equality in java cannot be done with the `==` sign.

```
unknown architecture [arm64] for jdk [provisioned_runtime], must be one of [aarch64, x64]
```

Signed-off-by: Peter Nied <[email protected]>
@tlfeng tlfeng added bug Something isn't working v1.0.0 Version 1.0.0 v2.0.0 Version 2.0.0 labels Jul 2, 2021
nknize pushed a commit that referenced this pull request Jul 2, 2021
Found when attempting to build on an `arm64` machine when I recieved an error message below.  Root cause is that string equality in java cannot be done with the `==` sign.

```
unknown architecture [arm64] for jdk [provisioned_runtime], must be one of [aarch64, x64]
```

Signed-off-by: Peter Nied <[email protected]>

Co-authored-by: Peter Nied <[email protected]>
@dblock dblock removed the pending backport Identifies an issue or PR that still needs to be backported label Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v1.0.0 Version 1.0.0 v2.0.0 Version 2.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants