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

ASF GitHub Bot commented on TWILL-175:
--------------------------------------

GitHub user anwar6953 opened a pull request:

    https://github.com/apache/twill/pull/6

    Avoid caching YarnClient

    Avoid caching a YarnClient, since each YarnClient is fixed to a particular 
UserGroupInformation.
    
    https://issues.apache.org/jira/browse/TWILL-175

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

    $ git pull https://github.com/anwar6953/twill 
feature/avoid-caching-yarn-client

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

    https://github.com/apache/twill/pull/6.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 #6
    
----
commit 4726e409d7b344b92ab7fee881a47aa37fc542dd
Author: Ali Anwar <anw...@berkeley.edu>
Date:   2016-08-26T06:45:39Z

    Avoid caching a YarnClient, since each YarnClient is fixed to a particular 
UserGroupInformation.

----


> Hadoop21YarnAppClient caches a YarnClient
> -----------------------------------------
>
>                 Key: TWILL-175
>                 URL: https://issues.apache.org/jira/browse/TWILL-175
>             Project: Apache Twill
>          Issue Type: Bug
>    Affects Versions: 0.7.0-incubating
>            Reporter: Ali Anwar
>             Fix For: 0.8.0
>
>
> Hadoop21YarnAppClient caches a YarnClient.
> Internally, YarnClient is only useful for a single UserGroupInformation. 
> Because of this, you can not use the same Hadoop21YarnAppClient for multiple 
> UGIs.
> The Hadoop21YarnAppClient class should use a different YarnClient for each 
> UGI.



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

Reply via email to