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

2018-03-19 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on TWILL-244:
--

Github user chtyim closed the pull request at:

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


> 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
>Priority: Major
>
> 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
(v7.6.3#76005)


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

2018-03-19 Thread chtyim
Github user chtyim closed the pull request at:

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


---


[GitHub] twill pull request #68: (TWILL-258) Use loopback address for ZK server

2018-03-19 Thread chtyim
GitHub user chtyim opened a pull request:

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

(TWILL-258) Use loopback address for ZK server

- Fix a race condition in the LocationCacheTest
- Fix race condition in LogLevelChangeTestRun

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

$ git pull https://github.com/chtyim/twill feature/TWILL-258

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

https://github.com/apache/twill/pull/68.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 #68


commit 0172a5d1f549ea2485fdce35034d1dec61a26ba3
Author: Terence Yim 
Date:   2018-03-19T07:28:20Z

(TWILL-258) Use loopback address for ZK server

- Fix a race condition in the LocationCacheTest
- Fix race condition in LogLevelChangeTestRun




---


[jira] [Commented] (TWILL-258) Use getLoopbackAddress() instead of getLocalHost() for getting local host for ZK server

2018-03-19 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on TWILL-258:
--

GitHub user chtyim opened a pull request:

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

(TWILL-258) Use loopback address for ZK server

- Fix a race condition in the LocationCacheTest
- Fix race condition in LogLevelChangeTestRun

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

$ git pull https://github.com/chtyim/twill feature/TWILL-258

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

https://github.com/apache/twill/pull/68.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 #68


commit 0172a5d1f549ea2485fdce35034d1dec61a26ba3
Author: Terence Yim 
Date:   2018-03-19T07:28:20Z

(TWILL-258) Use loopback address for ZK server

- Fix a race condition in the LocationCacheTest
- Fix race condition in LogLevelChangeTestRun




> Use getLoopbackAddress() instead of getLocalHost() for getting local host for 
> ZK server
> ---
>
> Key: TWILL-258
> URL: https://issues.apache.org/jira/browse/TWILL-258
> Project: Apache Twill
>  Issue Type: Improvement
>  Components: core
>Reporter: Terence Yim
>Assignee: Terence Yim
>Priority: Major
>
> This makes tests agnostic to local network configurations



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (TWILL-258) Use getLoopbackAddress() instead of getLocalHost() for getting local host for ZK server

2018-03-19 Thread Terence Yim (JIRA)
Terence Yim created TWILL-258:
-

 Summary: Use getLoopbackAddress() instead of getLocalHost() for 
getting local host for ZK server
 Key: TWILL-258
 URL: https://issues.apache.org/jira/browse/TWILL-258
 Project: Apache Twill
  Issue Type: Improvement
  Components: core
Reporter: Terence Yim
Assignee: Terence Yim


This makes tests agnostic to local network configurations



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)