[GitHub] twill issue #1: TWILL-182, prefix jar names with the source path in the bund...

2016-08-17 Thread chtyim
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/1 +1 for @hsaputra idea of not checking in the binary jar. To not mess with the classpath, you can simply generate an empty class using ASM and write it to a jar (shouldn't be too complicate to use

[GitHub] twill issue #1: TWILL-182, prefix jar names with the source path in the bund...

2016-08-17 Thread chtyim
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/1 Actually you don't need to use ASM. You can just create two jars, one contains `org/apache/twill/internal/utils/Class1.class`, the other has `org/apache/twill/internal/utils/Class2.class`. Then create

[GitHub] twill issue #31: Avoid packaging resources jar in the ApplicationMaster

2017-02-02 Thread chtyim
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/31 LGTM --- 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

[GitHub] twill issue #28: TWILL-210 Ability to handle FileSystems that do not have au...

2017-01-27 Thread chtyim
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/28 LGTM --- 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

[GitHub] twill issue #27: Fix location permission test for older Hadoop versions

2017-01-27 Thread chtyim
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/27 LGTM --- 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

[GitHub] twill pull request #26: (TWILL-208) add Location.mkdirs(String permissions)

2017-01-26 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/26#discussion_r98118427 --- Diff: twill-yarn/src/test/java/org/apache/twill/filesystem/FileContextLocationTest.java --- @@ -17,26 +17,36 @@ */ package

[GitHub] twill pull request #33: TWILL-216 Make ratio between total memory and on-hea...

2017-02-17 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/33#discussion_r101789920 --- Diff: twill-yarn/src/main/java/org/apache/twill/internal/appmaster/ApplicationMasterService.java --- @@ -38,7 +38,6 @@ import

[GitHub] twill pull request #33: TWILL-216 Make ratio between total memory and on-hea...

2017-02-16 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/33#discussion_r101699381 --- Diff: twill-api/src/main/java/org/apache/twill/api/Configs.java --- @@ -75,6 +82,7 @@ private Keys() { */ public static final int

[GitHub] twill issue #32: (TWILL-218), add the OptionSpec class as an explicit depend...

2017-02-13 Thread chtyim
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/32 LGTM --- 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

[GitHub] twill issue #25: (TWILL-205) Add getOwner(), getGroup() and setGroup() to Lo...

2017-01-19 Thread chtyim
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/25 LGTM --- 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

[GitHub] twill issue #24: Twill 90

2017-01-19 Thread chtyim
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/24 Please use 2 spaces instead of 4 for indentation --- 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

[GitHub] twill pull request #1: TWILL-182, prefix jar names with the source path in t...

2016-08-20 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/1#discussion_r75587121 --- Diff: twill-core/src/test/java/org/apache/twill/internal/utils/ApplicationBundlerTest.java --- @@ -17,27 +17,32 @@ */ package

[GitHub] twill pull request #35: (TWILL-207) Only use list of class names as the cach...

2017-02-28 Thread chtyim
GitHub user chtyim opened a pull request: https://github.com/apache/twill/pull/35 (TWILL-207) Only use list of class names as the cache name - Also some indentation changes. You can merge this pull request into a Git repository by running: $ git pull https://github.com/chtyim

[GitHub] twill pull request #34: Feature/twill 186

2017-02-28 Thread chtyim
GitHub user chtyim opened a pull request: https://github.com/apache/twill/pull/34 Feature/twill 186 You can merge this pull request into a Git repository by running: $ git pull https://github.com/chtyim/twill feature/twill-186 Alternatively you can review and apply

[GitHub] twill pull request #34: (TWILL-186) Fix NPE and container size mismatch

2017-02-28 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/34#discussion_r103596214 --- Diff: twill-yarn/src/main/java/org/apache/twill/internal/yarn/AbstractYarnAMClient.java --- @@ -50,12 +51,11 @@ private static final Logger LOG

[GitHub] twill issue #34: (TWILL-186) Fix NPE and container size mismatch

2017-03-01 Thread chtyim
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/34 Seems like the github sync is lagging. I merged this change about 6 hours ago --- 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

[GitHub] twill issue #34: (TWILL-186) Fix NPE and container size mismatch

2017-03-01 Thread chtyim
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/34 I squashed them after getting LGTM to prepare for the merge --- 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

[GitHub] twill issue #35: (TWILL-207) Only use list of class names as the cache name

2017-03-01 Thread chtyim
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/35 Force push a change to trigger travis build again. --- 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

[GitHub] twill pull request #8: (TWILL-177) Make ZKDiscoveryService AutoCloseable

2016-08-29 Thread chtyim
GitHub user chtyim opened a pull request: https://github.com/apache/twill/pull/8 (TWILL-177) Make ZKDiscoveryService AutoCloseable - Release ZK watches when closed You can merge this pull request into a Git repository by running: $ git pull https://github.com/chtyim/twill

[GitHub] twill pull request #6: TWILL-175 Avoid caching YarnClient

2016-08-29 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/6#discussion_r76685365 --- Diff: twill-yarn/src/main/hadoop20/org/apache/twill/internal/yarn/Hadoop20YarnAppClient.java --- @@ -62,18 +62,26 @@ public final class

[GitHub] twill pull request #6: TWILL-175 Avoid caching YarnClient

2016-08-29 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/6#discussion_r76685965 --- Diff: twill-yarn/src/main/hadoop20/org/apache/twill/internal/yarn/Hadoop20YarnAppClient.java --- @@ -176,22 +184,27 @@ private void addRMToken

[GitHub] twill pull request #6: TWILL-175 Avoid caching YarnClient

2016-08-29 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/6#discussion_r76685638 --- Diff: twill-yarn/src/main/hadoop20/org/apache/twill/internal/yarn/Hadoop20YarnAppClient.java --- @@ -62,18 +62,26 @@ public final class

[GitHub] twill issue #7: TWILL-185 Allow user to avoid scheduling the LocationSecureS...

2016-08-29 Thread chtyim
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/7 LGTM. --- 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

[GitHub] twill issue #8: (TWILL-177) Make ZKDiscoveryService AutoCloseable

2016-09-12 Thread chtyim
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/8 Rebased on master and resolved conflicts. --- 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

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-05 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r82098250 --- Diff: twill-api/src/main/java/org/apache/twill/api/TwillPreparer.java --- @@ -236,6 +236,23 @@ TwillPreparer setLogLevel(LogEntry.Level logLevel

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-05 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r82097429 --- Diff: twill-api/src/main/java/org/apache/twill/api/TwillController.java --- @@ -89,4 +90,29 @@ * @return A {@link Future} that will be completed

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-05 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r82097947 --- Diff: twill-api/src/main/java/org/apache/twill/api/TwillRunResources.java --- @@ -59,6 +61,16 @@ /** * @return the enabled log level

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-05 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r82098461 --- Diff: twill-common/src/main/java/org/apache/twill/internal/Constants.java --- @@ -82,6 +82,14 @@ private Files

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-05 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r82099064 --- Diff: twill-core/src/main/java/org/apache/twill/internal/TwillRuntimeSpecification.java --- @@ -72,7 +76,7 @@ public String getZkConnectStr

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-05 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r82099632 --- Diff: twill-core/src/main/java/org/apache/twill/internal/utils/LogLevelUtil.java --- @@ -0,0 +1,85 @@ +/* + * Licensed to the Apache Software

[GitHub] twill pull request #13: TWILL-195 Add TwillRuntimeSpecification

2016-10-05 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/13#discussion_r82034877 --- Diff: twill-common/src/main/java/org/apache/twill/internal/Constants.java --- @@ -78,6 +78,15 @@ private Files

[GitHub] twill pull request #13: TWILL-195 Add TwillRuntimeSpecification

2016-10-05 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/13#discussion_r82034301 --- Diff: twill-api/src/main/java/org/apache/twill/internal/TwillRuntimeSpecification.java --- @@ -0,0 +1,88 @@ +/* + * Licensed to the Apache Software

[GitHub] twill pull request #13: TWILL-195 Add TwillRuntimeSpecification

2016-10-05 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/13#discussion_r82035336 --- Diff: twill-core/src/main/java/org/apache/twill/internal/json/TwillRuntimeSpecificationCodec.java --- @@ -0,0 +1,90 @@ +/* + * Licensed

[GitHub] twill pull request #13: TWILL-195 Add TwillRuntimeSpecification

2016-10-05 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/13#discussion_r82034651 --- Diff: twill-api/src/main/java/org/apache/twill/internal/TwillRuntimeSpecification.java --- @@ -0,0 +1,88 @@ +/* + * Licensed to the Apache Software

[GitHub] twill pull request #13: TWILL-195 Add TwillRuntimeSpecification

2016-10-05 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/13#discussion_r82066987 --- Diff: twill-yarn/src/main/java/org/apache/twill/internal/container/TwillContainerMain.java --- @@ -112,9 +115,7 @@ public static void main(final String

[GitHub] twill pull request #13: TWILL-195 Add TwillRuntimeSpecification

2016-10-05 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/13#discussion_r82060475 --- Diff: twill-core/src/main/java/org/apache/twill/internal/json/TwillRuntimeSpecificationCodec.java --- @@ -0,0 +1,93 @@ +/* + * Licensed

[GitHub] twill pull request #13: TWILL-195 Add TwillRuntimeSpecification

2016-10-05 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/13#discussion_r82060058 --- Diff: twill-core/src/main/java/org/apache/twill/internal/EnvKeys.java --- @@ -22,36 +22,25 @@ */ public final class EnvKeys { - public

[GitHub] twill pull request #13: TWILL-195 Add TwillRuntimeSpecification

2016-10-05 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/13#discussion_r82059585 --- Diff: twill-yarn/src/main/java/org/apache/twill/internal/ServiceMain.java --- @@ -145,9 +145,8 @@ protected static Location createAppLocation(final

[GitHub] twill pull request #13: TWILL-195 Add TwillRuntimeSpecification

2016-10-05 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/13#discussion_r82059853 --- Diff: twill-core/src/main/java/org/apache/twill/internal/TwillRuntimeSpecification.java --- @@ -0,0 +1,94 @@ +/* + * Licensed to the Apache

[GitHub] twill pull request #13: TWILL-195 Add TwillRuntimeSpecification

2016-10-05 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/13#discussion_r82069017 --- Diff: twill-core/src/main/java/org/apache/twill/internal/json/TwillRuntimeSpecificationCodec.java --- @@ -0,0 +1,91 @@ +/* + * Licensed

[GitHub] twill pull request #13: TWILL-195 Add TwillRuntimeSpecification

2016-10-05 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/13#discussion_r82069407 --- Diff: twill-yarn/src/main/java/org/apache/twill/internal/appmaster/ApplicationMasterService.java --- @@ -169,7 +172,7 @@ public Reader getInput() throws

[GitHub] twill issue #13: TWILL-195 Add TwillRuntimeSpecification

2016-10-05 Thread chtyim
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/13 LGTM. Please squash the commits. --- 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

[GitHub] twill pull request #7: TWILL-185 Allow user to avoid scheduling the Location...

2016-08-27 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/7#discussion_r76519593 --- Diff: twill-core/src/main/java/org/apache/twill/internal/Configs.java --- @@ -31,6 +31,11 @@ */ public static final String

[GitHub] twill pull request #6: TWILL-175 Avoid caching YarnClient

2016-08-26 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/6#discussion_r76378304 --- Diff: twill-yarn/src/main/java/org/apache/twill/internal/appmaster/RunnableProcessLauncher.java --- @@ -76,6 +76,11 @@ public String toString

[GitHub] twill issue #4: TWILL-190 Wait for Twill runnables to stop when restarting t...

2016-08-26 Thread chtyim
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/4 LGTM --- 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

[GitHub] twill pull request #7: TWILL-185 Allow user to avoid scheduling the Location...

2016-08-26 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/7#discussion_r76454915 --- Diff: twill-yarn/src/main/java/org/apache/twill/yarn/YarnTwillRunnerService.java --- @@ -157,11 +158,25 @@ public YarnTwillRunnerService(YarnConfiguration

[GitHub] twill pull request #6: TWILL-175 Avoid caching YarnClient

2016-08-26 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/6#discussion_r76430188 --- Diff: twill-yarn/src/main/java/org/apache/twill/internal/appmaster/RunnableProcessLauncher.java --- @@ -76,6 +76,11 @@ public String toString

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-11-09 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r87238505 --- Diff: twill-api/src/main/java/org/apache/twill/internal/DefaultTwillRunResources.java --- @@ -129,7 +153,7 @@ public String toString

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-11-09 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r87244253 --- Diff: twill-core/src/main/java/org/apache/twill/internal/TwillRuntimeSpecification.java --- @@ -17,12 +17,14 @@ */ package

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-11-09 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r87237581 --- Diff: twill-api/src/main/java/org/apache/twill/api/TwillRunResources.java --- @@ -58,7 +60,18 @@ /** * @return the enabled log level

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-11-09 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r87242433 --- Diff: twill-core/src/main/java/org/apache/twill/internal/ContainerLiveNodeData.java --- @@ -43,4 +51,15 @@ public String getHost() { public String

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-11-09 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r87239528 --- Diff: twill-api/src/main/java/org/apache/twill/api/TwillController.java --- @@ -89,4 +90,59 @@ * @return A {@link Future} that will be completed

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-11-09 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r87244879 --- Diff: twill-yarn/src/main/java/org/apache/twill/internal/ServiceMain.java --- @@ -264,6 +262,10 @@ protected String getLoggerLevel(Logger logger

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-11-09 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r87239353 --- Diff: twill-core/src/main/java/org/apache/twill/internal/AbstractTwillController.java --- @@ -170,6 +171,37 @@ public String apply(Set input

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-14 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r83519594 --- Diff: twill-core/src/main/java/org/apache/twill/internal/DefaultResourceReport.java --- @@ -39,25 +44,33 @@ private final TwillRunResources

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-14 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r83519663 --- Diff: twill-core/src/main/java/org/apache/twill/internal/DefaultResourceReport.java --- @@ -39,25 +44,33 @@ private final TwillRunResources

[GitHub] twill pull request #16: [TWILL-199] Handle offset error and return next offs...

2016-11-21 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/16#discussion_r89038468 --- Diff: twill-core/src/main/java/org/apache/twill/kafka/client/KafkaOffsetProvider.java --- @@ -0,0 +1,36 @@ +/* + * Licensed to the Apache Software

[GitHub] twill pull request #16: [TWILL-199] Handle offset error and return next offs...

2016-11-21 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/16#discussion_r89038384 --- Diff: twill-core/src/main/java/org/apache/twill/kafka/client/KafkaConsumer.java --- @@ -35,8 +35,10 @@ * Invoked when new messages is available

[GitHub] twill pull request #16: [TWILL-199] Handle offset error and return next offs...

2016-11-21 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/16#discussion_r89038561 --- Diff: twill-core/src/main/java/org/apache/twill/kafka/client/KafkaOffsetProvider.java --- @@ -0,0 +1,36 @@ +/* + * Licensed to the Apache Software

[GitHub] twill issue #15: Update index.md

2016-11-16 Thread chtyim
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/15 LGTM --- 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

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-11-14 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r87353645 --- Diff: twill-api/src/main/java/org/apache/twill/api/TwillPreparer.java --- @@ -227,15 +227,34 @@ TwillPreparer addSecureStore(SecureStore secureStore

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-11-14 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r87863869 --- Diff: twill-api/src/main/java/org/apache/twill/api/TwillPreparer.java --- @@ -227,15 +227,34 @@ TwillPreparer addSecureStore(SecureStore secureStore

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-11-14 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r87875415 --- Diff: twill-yarn/src/main/java/org/apache/twill/internal/container/TwillContainerService.java --- @@ -56,24 +66,27 @@ public

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-11-14 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r87864069 --- Diff: twill-api/src/main/java/org/apache/twill/internal/DefaultTwillRunResources.java --- @@ -90,8 +104,14 @@ public Integer getDebugPort

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-11-14 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r87353516 --- Diff: twill-api/src/main/java/org/apache/twill/api/TwillController.java --- @@ -89,4 +90,30 @@ * @return A {@link Future} that will be completed

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-11 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r82901837 --- Diff: twill-core/src/main/java/org/apache/twill/internal/utils/LogLevelUtil.java --- @@ -0,0 +1,87 @@ +/* + * Licensed to the Apache Software

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-11 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r82899928 --- Diff: twill-yarn/src/test/java/org/apache/twill/yarn/LogLevelChangeTestRun.java --- @@ -0,0 +1,237 @@ +/* + * Licensed to the Apache Software

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-11 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r82901178 --- Diff: twill-yarn/src/main/java/org/apache/twill/yarn/YarnTwillPreparer.java --- @@ -298,6 +299,29 @@ public TwillPreparer addSecureStore(SecureStore

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-11 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r82898688 --- Diff: twill-yarn/src/test/java/org/apache/twill/yarn/ResourceReportTestRun.java --- @@ -36,6 +36,7 @@ import org.junit.Test; import

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-12 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r83108745 --- Diff: twill-core/src/main/java/org/apache/twill/internal/json/TwillRunResourcesCodec.java --- @@ -41,7 +43,8 @@ private static final String

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-12 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r83083471 --- Diff: twill-api/src/main/java/org/apache/twill/internal/DefaultTwillRunResources.java --- @@ -30,17 +34,33 @@ private final int memoryMB

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-12 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r83089162 --- Diff: twill-core/src/main/java/org/apache/twill/internal/DefaultResourceReport.java --- @@ -149,6 +161,51 @@ public void setServices(List services

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-12 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r83112064 --- Diff: twill-core/src/main/java/org/apache/twill/internal/utils/LogLevelUtil.java --- @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-12 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r83116829 --- Diff: twill-yarn/src/main/java/org/apache/twill/internal/appmaster/ApplicationMasterService.java --- @@ -951,4 +958,34 @@ public void run

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-12 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r83116780 --- Diff: twill-yarn/src/main/java/org/apache/twill/internal/appmaster/ApplicationMasterService.java --- @@ -200,7 +201,9 @@ private RunningContainers

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-12 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r83118218 --- Diff: twill-yarn/src/main/java/org/apache/twill/internal/appmaster/RunningContainers.java --- @@ -132,16 +149,22 @@ void start(String runnableName

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-12 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r83117233 --- Diff: twill-yarn/src/main/java/org/apache/twill/internal/appmaster/ApplicationMasterService.java --- @@ -951,4 +958,34 @@ public void run

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-12 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r83108717 --- Diff: twill-core/src/main/java/org/apache/twill/internal/json/TwillRunResourcesCodec.java --- @@ -41,7 +43,8 @@ private static final String

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-12 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r83083453 --- Diff: twill-api/src/main/java/org/apache/twill/internal/DefaultTwillRunResources.java --- @@ -30,17 +34,33 @@ private final int memoryMB

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-14 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r83472057 --- Diff: twill-api/src/main/java/org/apache/twill/api/TwillRunResources.java --- @@ -59,6 +61,16 @@ /** * @return the enabled log level

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-14 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r83471666 --- Diff: twill-api/src/main/java/org/apache/twill/api/TwillController.java --- @@ -89,4 +90,34 @@ * @return A {@link Future} that will be completed

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-14 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r83472284 --- Diff: twill-api/src/main/java/org/apache/twill/internal/DefaultTwillRunResources.java --- @@ -129,7 +152,7 @@ public String toString

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-14 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r83471254 --- Diff: twill-api/src/main/java/org/apache/twill/api/ResourceReport.java --- @@ -61,4 +63,11 @@ * @return list of services of the application master

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-10-14 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r83471522 --- Diff: twill-api/src/main/java/org/apache/twill/api/TwillController.java --- @@ -89,4 +90,34 @@ * @return A {@link Future} that will be completed

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-12-10 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r91844834 --- Diff: twill-yarn/src/main/java/org/apache/twill/yarn/YarnTwillPreparer.java --- @@ -151,8 +152,9 @@ this.reservedMemory = yarnConfig.getInt

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-12-10 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r91846095 --- Diff: twill-yarn/src/main/java/org/apache/twill/yarn/YarnTwillPreparer.java --- @@ -384,6 +408,24 @@ private void setEnv(String runnableName, Map<Str

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-12-10 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r90134835 --- Diff: twill-core/src/main/java/org/apache/twill/internal/AbstractTwillService.java --- @@ -197,16 +198,16 @@ protected final void shutDown() throws

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-12-10 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r90134323 --- Diff: twill-api/src/main/java/org/apache/twill/api/TwillController.java --- @@ -89,4 +90,45 @@ * @return A {@link Future} that will be completed

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-12-10 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r91844729 --- Diff: twill-api/src/main/java/org/apache/twill/api/TwillController.java --- @@ -89,4 +90,48 @@ * @return A {@link Future} that will be completed

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-12-10 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r91844825 --- Diff: twill-yarn/src/main/java/org/apache/twill/yarn/YarnTwillPreparer.java --- @@ -384,6 +408,24 @@ private void setEnv(String runnableName, Map<Str

[GitHub] twill pull request #14: TWILL-138 Runtime log level change

2016-12-10 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/14#discussion_r90134468 --- Diff: twill-api/src/main/java/org/apache/twill/api/TwillController.java --- @@ -89,4 +90,45 @@ * @return A {@link Future} that will be completed

[GitHub] twill issue #17: Change initial application submission log message from DEBU...

2016-12-12 Thread chtyim
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/17 LGTM. --- 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

[GitHub] twill issue #20: Remove unnecessary methods to get the root log level

2016-12-13 Thread chtyim
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/20 LGTM --- 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

[GitHub] twill issue #18: Fix reset log level for runnables started up later

2016-12-13 Thread chtyim
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/18 LGTM --- 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

[GitHub] twill issue #14: TWILL-138 Runtime log level change

2016-12-11 Thread chtyim
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/14 LGTM --- 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

[GitHub] twill pull request #16: [TWILL-199] Return the offset to read next message i...

2017-01-06 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/16#discussion_r94918807 --- Diff: twill-core/src/main/java/org/apache/twill/kafka/client/KafkaConsumer.java --- @@ -33,14 +33,16 @@ /** * Invoked when new

[GitHub] twill pull request #16: [TWILL-199] Return the offset to read next message i...

2017-01-05 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/16#discussion_r94817038 --- Diff: twill-core/src/test/java/org/apache/twill/kafka/client/KafkaTest.java --- @@ -189,6 +194,49 @@ public void finished() { } @Test

[GitHub] twill issue #22: (TWILL-187) Added max start time

2017-01-06 Thread chtyim
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/22 For the stop timeout, it is cover by TWILL-192, as the changes are more complicate in the stop case --- If your project is set up for it, you can reply to this email and have your reply appear

[GitHub] twill pull request #22: (TWILL-187) Added max start time

2017-01-06 Thread chtyim
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/22#discussion_r95050430 --- Diff: twill-api/src/main/java/org/apache/twill/api/TwillPreparer.java --- @@ -257,8 +258,19 @@ TwillPreparer setLogLevels(String runnableName, Map

[GitHub] twill pull request #22: (TWILL-187) Added max start time

2017-01-06 Thread chtyim
GitHub user chtyim opened a pull request: https://github.com/apache/twill/pull/22 (TWILL-187) Added max start time You can merge this pull request into a Git repository by running: $ git pull https://github.com/chtyim/twill feature/twill-187 Alternatively you can review

  1   2   3   >