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

ORC-945: Add OUTPUT_QUIET, ERROR_QUIET to suppress Java8 add-open error messages #858

Merged
merged 1 commit into from Aug 14, 2021

Conversation

williamhyun
Copy link
Member

@williamhyun williamhyun commented Aug 14, 2021

What changes were proposed in this pull request?

This PR aims to add OUTPUT_QUIET and ERROR_QUIET to suppress Java8 add-open error messages

Why are the changes needed?

Error messages could be misleading, so we had better suppress it.

Unrecognized option: --add-opens
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

How was this patch tested?

Check the GHA logs on this PR.

@github-actions github-actions bot added the JAVA label Aug 14, 2021
@williamhyun
Copy link
Member Author

cc: @dongjoon-hyun

@dongjoon-hyun
Copy link
Member

Thank you for pinging me, @williamhyun .

@dongjoon-hyun
Copy link
Member

I checked that Unrecognized doesn't exist in the GitHub Action Java8 job.

@dongjoon-hyun dongjoon-hyun merged commit 6840cd6 into apache:main Aug 14, 2021
dongjoon-hyun pushed a commit that referenced this pull request Aug 14, 2021
…r messages (#858)

### What changes were proposed in this pull request?
This PR aims to add `OUTPUT_QUIET` and `ERROR_QUIET` to suppress Java8 `add-open` error messages

### Why are the changes needed?
Error messages could be misleading, so we had better suppress it.
- https://github.com/apache/orc/runs/3324055264
```
Unrecognized option: --add-opens
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
```

### How was this patch tested?
Check the GHA logs on this PR.

(cherry picked from commit 6840cd6)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
dongjoon-hyun pushed a commit that referenced this pull request Aug 14, 2021
…r messages (#858)

### What changes were proposed in this pull request?
This PR aims to add `OUTPUT_QUIET` and `ERROR_QUIET` to suppress Java8 `add-open` error messages

### Why are the changes needed?
Error messages could be misleading, so we had better suppress it.
- https://github.com/apache/orc/runs/3324055264
```
Unrecognized option: --add-opens
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
```

### How was this patch tested?
Check the GHA logs on this PR.

(cherry picked from commit 6840cd6)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
@dongjoon-hyun
Copy link
Member

Merged to main/1.7/1.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants