You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@twill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/08/29 01:41:01 UTC

[jira] [Commented] (TWILL-244) Provide access to ResourceReport to TwillRunnable

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

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

GitHub user chtyim opened a pull request:

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

    (TWILL-244) Make resource report available to TwillRunnable

    - Make resource report available to TwillContext
      - Enhance tracker service to provide more resource related endpoints
        - Provide endpoints to fetch specific part of the report to reduce bandwidth
        - Added a ResourceReporter API to provide programmatic access
      - Make resource report available via TwillContext
    - Fixed a concurrent modification bug in ZKDiscoveryService.close

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

    $ git pull https://github.com/chtyim/twill feature/TWILL-244-resource-report-runnable

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

    https://github.com/apache/twill/pull/61.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 #61
    
----
commit 53312962b33cc20c2f272b217d076730c498644d
Author: Terence Yim <ch...@apache.org>
Date:   2017-08-28T23:47:45Z

    (TWILL-244) Make resource report available to TwillContext
    
    - Enhance tracker service to provide more resource related endpoints
      - Provide endpoints to fetch specific part of the report to reduce
        bandwidth
      - Added a ResourceReporter API to provide programmatic access
    - Make resource report available via TwillContext

commit 31facdf2f7f93f06c8fd131960be6d4c52fd646e
Author: Terence Yim <ch...@apache.org>
Date:   2017-08-29T01:33:53Z

    Fix a concurrent modification bug in ZKDiscoveryService.close

----


> Provide access to ResourceReport to TwillRunnable
> -------------------------------------------------
>
>                 Key: TWILL-244
>                 URL: https://issues.apache.org/jira/browse/TWILL-244
>             Project: Apache Twill
>          Issue Type: Improvement
>          Components: api
>            Reporter: Terence Yim
>
> One of the use case for this is to let TwillRunnable know about what containers are running at the moment, which could be useful when building fencing mechanism for single-master + HA type of applications.
> This information can be available via the TwillContext object.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)