[jira] [Commented] (TWILL-238) Change TwillController restartInstances API

2017-07-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on TWILL-238:
--

Github user fonelor commented on a diff in the pull request:

https://github.com/apache/twill/pull/56#discussion_r127425262
  
--- Diff: twill-api/src/main/java/org/apache/twill/api/TwillController.java 
---
@@ -17,15 +17,14 @@
  */
 package org.apache.twill.api;
 
-import org.apache.twill.api.logging.LogEntry;
-import org.apache.twill.api.logging.LogHandler;
-import org.apache.twill.discovery.Discoverable;
-import org.apache.twill.discovery.ServiceDiscovered;
-
 import java.util.Map;
 import java.util.Set;
 import java.util.concurrent.Future;
 import javax.annotation.Nullable;
+import org.apache.twill.api.logging.LogEntry;
--- End diff --

i've reverted reformatting changes


> Change TwillController restartInstances API
> ---
>
> Key: TWILL-238
> URL: https://issues.apache.org/jira/browse/TWILL-238
> Project: Apache Twill
>  Issue Type: Improvement
>  Components: api
>Reporter: Filippov Sergey
>Assignee: Filippov Sergey
>Priority: Minor
> Fix For: 0.12.0
>
>
> Lets change signature from Future restartInstances(String runnable, 
> int instanceId, int... moreInstanceIds) to Future 
> restartInstances(String runnable, Interger instanceId, Integer... 
> moreInstanceIds) so it will be easier to convert from collections to vararg



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


[jira] [Commented] (TWILL-238) Change TwillController restartInstances API

2017-07-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on TWILL-238:
--

Github user fonelor commented on the issue:

https://github.com/apache/twill/pull/56
  
Reverted reformatting


> Change TwillController restartInstances API
> ---
>
> Key: TWILL-238
> URL: https://issues.apache.org/jira/browse/TWILL-238
> Project: Apache Twill
>  Issue Type: Improvement
>  Components: api
>Reporter: Filippov Sergey
>Assignee: Filippov Sergey
>Priority: Minor
> Fix For: 0.12.0
>
>
> Lets change signature from Future restartInstances(String runnable, 
> int instanceId, int... moreInstanceIds) to Future 
> restartInstances(String runnable, Interger instanceId, Integer... 
> moreInstanceIds) so it will be easier to convert from collections to vararg



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


[GitHub] twill issue #56: (TWILL-238) Change TwillController restartInstances API

2017-07-14 Thread fonelor
Github user fonelor commented on the issue:

https://github.com/apache/twill/pull/56
  
Reverted reformatting


---
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.
---


[GitHub] twill pull request #56: (TWILL-238) Change TwillController restartInstances ...

2017-07-14 Thread fonelor
Github user fonelor commented on a diff in the pull request:

https://github.com/apache/twill/pull/56#discussion_r127425262
  
--- Diff: twill-api/src/main/java/org/apache/twill/api/TwillController.java 
---
@@ -17,15 +17,14 @@
  */
 package org.apache.twill.api;
 
-import org.apache.twill.api.logging.LogEntry;
-import org.apache.twill.api.logging.LogHandler;
-import org.apache.twill.discovery.Discoverable;
-import org.apache.twill.discovery.ServiceDiscovered;
-
 import java.util.Map;
 import java.util.Set;
 import java.util.concurrent.Future;
 import javax.annotation.Nullable;
+import org.apache.twill.api.logging.LogEntry;
--- End diff --

i've reverted reformatting changes


---
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] [Commented] (TWILL-238) Change TwillController restartInstances API

2017-07-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on TWILL-238:
--

Github user chtyim commented on a diff in the pull request:

https://github.com/apache/twill/pull/56#discussion_r126296669
  
--- Diff: twill-api/src/main/java/org/apache/twill/api/TwillController.java 
---
@@ -17,15 +17,14 @@
  */
 package org.apache.twill.api;
 
-import org.apache.twill.api.logging.LogEntry;
-import org.apache.twill.api.logging.LogHandler;
-import org.apache.twill.discovery.Discoverable;
-import org.apache.twill.discovery.ServiceDiscovered;
-
 import java.util.Map;
 import java.util.Set;
 import java.util.concurrent.Future;
 import javax.annotation.Nullable;
+import org.apache.twill.api.logging.LogEntry;
--- End diff --

Please don't rearrange the imports. You can use the ide profiles available 
in http://twill.apache.org/HowToContribute.html


> Change TwillController restartInstances API
> ---
>
> Key: TWILL-238
> URL: https://issues.apache.org/jira/browse/TWILL-238
> Project: Apache Twill
>  Issue Type: Improvement
>  Components: api
>Reporter: Filippov Sergey
>Assignee: Filippov Sergey
>Priority: Minor
> Fix For: 0.12.0
>
>
> Lets change signature from Future restartInstances(String runnable, 
> int instanceId, int... moreInstanceIds) to Future 
> restartInstances(String runnable, Interger instanceId, Integer... 
> moreInstanceIds) so it will be easier to convert from collections to vararg



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


[GitHub] twill pull request #56: (TWILL-238) Change TwillController restartInstances ...

2017-07-14 Thread chtyim
Github user chtyim commented on a diff in the pull request:

https://github.com/apache/twill/pull/56#discussion_r126296669
  
--- Diff: twill-api/src/main/java/org/apache/twill/api/TwillController.java 
---
@@ -17,15 +17,14 @@
  */
 package org.apache.twill.api;
 
-import org.apache.twill.api.logging.LogEntry;
-import org.apache.twill.api.logging.LogHandler;
-import org.apache.twill.discovery.Discoverable;
-import org.apache.twill.discovery.ServiceDiscovered;
-
 import java.util.Map;
 import java.util.Set;
 import java.util.concurrent.Future;
 import javax.annotation.Nullable;
+import org.apache.twill.api.logging.LogEntry;
--- End diff --

Please don't rearrange the imports. You can use the ide profiles available 
in http://twill.apache.org/HowToContribute.html


---
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.
---