GitHub user chiwanpark opened a pull request:
https://github.com/apache/flink/pull/1500
[FLINK-2935] [scala-shell] Allow Scala shell to connect Flink cluster on
YARN
Please check a [JIRA
issue](https://issues.apache.org/jira/browse/FLINK-2935) related to this PR.
This PR is tested with Hadoop YARN 2.6.2. It works on Scala 2.10 and 2.11 both.
Because there is duplicated method `parseHostPortAddress` in `CliFrontend`
and `RemoteExecutor` classes, I moved the method to a new class `ClientUtils`.
This PR contains also some refactoring of `FlinkShell` class.
Any comments are welcome.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/chiwanpark/flink FLINK-2935
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/1500.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 #1500
----
commit 4e57f68133f7b59b928c74cf165d6920f8c4d11c
Author: Chiwan Park <[email protected]>
Date: 2015-12-07T12:05:03Z
[FLINK-2935] [scala-shell] Allow Scala shell to connect Flink cluster on
YARN
- Remove duplicated parseHostPortAddress method (Move it to ClientUtils
class)
- Refactor FlinkShell class
----
---
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.
---