[ 
https://issues.apache.org/jira/browse/FLINK-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14714422#comment-14714422
 ] 

ASF GitHub Bot commented on FLINK-2326:
---------------------------------------

GitHub user rmetzger opened a pull request:

    https://github.com/apache/flink/pull/1062

    [FLINK-2326] Write yarn properties file to temp directory

    Flink's YARN client is writing a `.yarn-properties` file to the `conf/` 
directory containing the JobManager's host and port.
    It seems that at least two users were installing Flink into a read only 
location, thus Flink was unable to write the properties file to `conf/`.
    
    With this change, the file is written into the `/tmp/` directory with the 
current user's name.
    This will allow to use a shared Flink installation with different users at 
the same time.
    I also introduced a configuration value to change the location of the 
properties file.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rmetzger/flink flink2326

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/1062.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 #1062
    
----
commit 473940eda06e2874d6b2cec5e50ee07d6054f438
Author: Robert Metzger <[email protected]>
Date:   2015-08-26T14:11:30Z

    [FLINK-2326] Write yarn properties file to temp directory

----


> Mutitenancy on Yarn
> -------------------
>
>                 Key: FLINK-2326
>                 URL: https://issues.apache.org/jira/browse/FLINK-2326
>             Project: Flink
>          Issue Type: Improvement
>          Components: YARN Client
>    Affects Versions: 0.9
>         Environment: Centos 6.6
> Hadoop 2.7 secured with kerberos
> Flink 0.9
>            Reporter: LINTE
>            Assignee: Robert Metzger
>
> When a user launch a Flink cluster on yarn, i .yarn-properties file is 
> created in the conf directory.
> In multiuser environnement the configuration directory is read only. 
> Even with write permission for all user on conf directory, then just on user 
> can run a Flink cluster.
> Regards



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to