Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Make Java optional in CLI and check JAVA_BIN #3521

Merged
merged 1 commit into from
May 1, 2020

Conversation

Code0x58
Copy link
Contributor

@Code0x58 Code0x58 commented Apr 30, 2020

This is so you only need the variables when they are used when submitting a topology, so you can still use other commands and check the --help.

It also uses JAVA_BIN before JAVA_HOME.

@nwangtw
Copy link
Contributor

nwangtw commented Apr 30, 2020

lgtm. letting java experts to take a look.

@joshfischer1108
Copy link
Member

I'm no expert, but it looks good to me

@Code0x58 Code0x58 force-pushed the optional-cli-java branch from 8002fd2 to 56fe540 Compare May 1, 2020 00:55
@Code0x58
Copy link
Contributor Author

Code0x58 commented May 1, 2020

I made an amendment to use Status.InvocationError instead of Status.HeronError

@joshfischer1108
Copy link
Member

@Code0x58 It looks like there are some Python linting issues that are breaking the build. Would mind fixing those before we merge?

@Code0x58 Code0x58 force-pushed the optional-cli-java branch from 56fe540 to d20d86b Compare May 1, 2020 17:16
@Code0x58 Code0x58 force-pushed the optional-cli-java branch from d20d86b to 69262e1 Compare May 1, 2020 17:18
@nicknezis nicknezis merged commit cf08e71 into apache:master May 1, 2020
@Code0x58 Code0x58 deleted the optional-cli-java branch May 2, 2020 11:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants