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

2017-08-28 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/TWILL-244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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 
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 
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)


[GitHub] twill pull request #61: (TWILL-244) Make resource report available to TwillR...

2017-08-28 Thread chtyim
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 
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 
Date:   2017-08-29T01:33:53Z

Fix a concurrent modification bug in ZKDiscoveryService.close




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (TWILL-246) Provide API to localize files to the application master container

2017-08-28 Thread Terence Yim (JIRA)
Terence Yim created TWILL-246:
-

 Summary: Provide API to localize files to the application master 
container
 Key: TWILL-246
 URL: https://issues.apache.org/jira/browse/TWILL-246
 Project: Apache Twill
  Issue Type: Improvement
Reporter: Terence Yim


With the EventHandler running inside the application master, it may need to 
localize files to the AM container for its own purpose.



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


[jira] [Created] (TWILL-245) Application always reported as SUCCEEDED to YARN

2017-08-28 Thread Terence Yim (JIRA)
Terence Yim created TWILL-245:
-

 Summary: Application always reported as SUCCEEDED to YARN
 Key: TWILL-245
 URL: https://issues.apache.org/jira/browse/TWILL-245
 Project: Apache Twill
  Issue Type: Bug
Reporter: Terence Yim


Currently AM always report succeeded on shutting down. Instead, it should 
report FAILED if the AM shuts down due to failure (e.g. aborted due to runnable 
failure).



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


[jira] [Resolved] (TWILL-239) Allow controlling reserve memory size and ratio per runnable

2017-08-28 Thread Terence Yim (JIRA)

 [ 
https://issues.apache.org/jira/browse/TWILL-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Terence Yim resolved TWILL-239.
---
Resolution: Duplicate

> Allow controlling reserve memory size and ratio per runnable
> 
>
> Key: TWILL-239
> URL: https://issues.apache.org/jira/browse/TWILL-239
> Project: Apache Twill
>  Issue Type: Improvement
>  Components: api, core
>Reporter: Terence Yim
>




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