GitHub user greghogan opened a pull request:
https://github.com/apache/flink/pull/3352
[FLINK-5838] [scripts] Print shell script usage
If jobmanager.sh, taskmanager.sh, or zookeeper.sh are called without
arguments then argument list for the call to flink-daemon.sh is misaligned and
the usage for flink-daemon displayed to the user.
Adds a check to each script to check for a valid action and otherwise
displays the proper usage string.
Note: this PR conflicts with the PR for FLINK-4326 which adds a
"start-foreground" action.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/greghogan/flink 5838_print_shell_script_usage
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/3352.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3352
----
commit 0441164935a34032523040864ec18ee01b4adb5b
Author: Greg Hogan <[email protected]>
Date: 2017-02-17T19:38:31Z
[FLINK-5838] [scripts] Print shell script usage
If jobmanager.sh, taskmanager.sh, or zookeeper.sh are called without
arguments then argument list for the call to flink-daemon.sh is
misaligned and the usage for flink-daemon displayed to the user.
Adds a check to each script to check for a valid action and otherwise
displays the proper usage string.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---