[
https://issues.apache.org/jira/browse/FLINK-2935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15093934#comment-15093934
]
ASF GitHub Bot commented on FLINK-2935:
---------------------------------------
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
----
> Allow scala shell to read yarn properties
> -----------------------------------------
>
> Key: FLINK-2935
> URL: https://issues.apache.org/jira/browse/FLINK-2935
> Project: Flink
> Issue Type: Improvement
> Components: Scala Shell
> Affects Versions: 0.9.1
> Reporter: Johannes
> Assignee: Chiwan Park
> Priority: Minor
> Labels: easyfix
>
> Currently the deployment of flink via yarn and the scala shell are not linked.
> When deploying a yarn session the file
> bq. org.apache.flink.client.CliFrontend
> creates a
> bq. .yarn-properties-$username
> file with the connection properties.
> There should be a way to have the scala shell automatically read this file if
> wanted as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)