[jira] [Commented] (TWILL-185) Allow user to disable the SecureStoreUpdater in Twill

2016-08-27 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on TWILL-185:
--

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

https://github.com/apache/twill/pull/7#discussion_r76521765
  
--- Diff: twill-core/src/main/java/org/apache/twill/internal/Configs.java 
---
@@ -31,6 +31,11 @@
  */
 public static final String JAVA_RESERVED_MEMORY_MB = 
"twill.java.reserved.memory.mb";
 
+/**
+ * Set this to false to disable the secure store updates done by 
default.
+ */
+public static final String ENABLE_DEFAULT_SECURE_STORE_UPDATE = 
"twill.enable.default.secure.store.update";
--- End diff --

+1


> Allow user to disable the SecureStoreUpdater in Twill
> -
>
> Key: TWILL-185
> URL: https://issues.apache.org/jira/browse/TWILL-185
> Project: Apache Twill
>  Issue Type: Improvement
>  Components: api
>Affects Versions: 0.7.0-incubating
>Reporter: Ali Anwar
>Assignee: Ali Anwar
> Fix For: 0.8.0
>
>
> User can have their own SecureStoreUpdater scheduled.
> Having two of these schedules can cause issues (see TWILL-109).
> It also can cause conflicts with the updating done by the user's 
> SecureStoreUpdater.
> Allowing the user to disable the SecureStoreUpdater in Twill is a simple way 
> to resolve both of these issues.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[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 JAVA_RESERVED_MEMORY_MB = 
"twill.java.reserved.memory.mb";
 
+/**
+ * Set this to false to disable the secure store updates done by 
default.
+ */
+public static final String ENABLE_DEFAULT_SECURE_STORE_UPDATE = 
"twill.enable.default.secure.store.update";
--- End diff --

I think the common convention is to call it like 
`twill.secure.store.update.location.enabled` (from widest to narrowest scope, 
see hadoop-default.xml). Explicitly calling out `location` because that is what 
get updated by default right now and potentially there can be other secure 
store gets updated by default.


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