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
[FLINK-6489] [FLINK-8696] [shell scripts] Remove JobManager local mode from the Shell Scripts #5528
Conversation
There's still a reference to
|
I've tried using the start-local.bat scripts and found 3 issues:
You cannot use them out-of-the-box as they start the old JobManager/TaskManager components, but the client works against FLIP-6 by default.
|
The JM/TM can connect to each other though, and the job submission through the UI is also working. The metrics in the UI appear to be broken though. |
Hmm, weird, I tried it out under Windows (7) two days ago and it worked quite well. Let me check into what you found there... |
Okay, after a quick check with @zentol
|
I tried it again with java 8. The job submission through the client now also works for me, and the warning is no longer printed. |
…al.bat Instead, this uses 'start' to start JobManager and TaskManager background processes.
…' instead of 'start-local.sh' (and likewise for 'start-cluster.bat' vs. 'start-local.bat')
11e87c4
to
566ba00
Compare
Tested it locally again, works (with current flip-6 Web UI at 9065) Adjusted the test-infra scripts to remove local mode. Tose are only executed on Travis, so waiting until the CI build passes... |
|
||
echo You can terminate the processes via CTRL-C in the spawned shell windows. | ||
|
||
echo Web interface by default on http://localhost:8081/. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be updated to 9065
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to keep it at 8081, because the flip-6 endpoint will switch to that in the next days anyways and they will probably not be aware that this would need to be updated again ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok 👍
The host names are added in the UNIX scripts to support flink setups where all nodes put their log files in a shared NFS folder, and hostnames are needed to avoid name collisions. The windows setup scripts do not need that kind of functionality.
…orary Flip-6 web UI port
Merged in 74c5570 |
What is the purpose of the change
The JobManager local mode is problematic:
The JobManager local mode is also unnecessary. The
start-cluster.sh
script sets up a proper local cluster without additional configuration.This pull request removes the local mode from all UNIX scripts and changes the Windows
start-local.bat
to astart-cluster.bat
that also starts two separate processes for JobManager and TaskManager.Brief change log
start-local.bat
to astart-cluster.bat
which spawns two processes (usingstart
command). The two processes show up as separate windows and can be stopped separately.start-local-sh
andstop-local.sh
scripts.The next step would be to remove the execution mode from the JobManagers command line argument parsing and setup logic.
Verifying this change
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: (yes / no)Documentation
Docs are updated to not refer to
start-local.xy
any more.