storm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kabh...@apache.org
Subject [1/4] storm git commit: adds config for group.mapping.service init params
Date Wed, 19 Aug 2015 03:38:36 GMT
Repository: storm
Updated Branches:
  refs/heads/master 3b1b3bfa5 -> 9c9418843


adds config for group.mapping.service init params


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/e0f0ce57
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/e0f0ce57
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/e0f0ce57

Branch: refs/heads/master
Commit: e0f0ce57d443aa7fc295504e3355a7f11e05621e
Parents: 6a21b6a
Author: Derek Dagit <derekd@yahoo-inc.com>
Authored: Wed Jul 22 16:41:12 2015 -0500
Committer: Derek Dagit <derekd@yahoo-inc.com>
Committed: Wed Jul 22 16:41:12 2015 -0500

----------------------------------------------------------------------
 conf/defaults.yaml                            | 1 +
 storm-core/src/jvm/backtype/storm/Config.java | 6 ++++++
 2 files changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/e0f0ce57/conf/defaults.yaml
----------------------------------------------------------------------
diff --git a/conf/defaults.yaml b/conf/defaults.yaml
index c3fa372..ea83ffb 100644
--- a/conf/defaults.yaml
+++ b/conf/defaults.yaml
@@ -39,6 +39,7 @@ storm.local.mode.zmq: false
 storm.thrift.transport: "backtype.storm.security.auth.SimpleTransportPlugin"
 storm.principal.tolocal: "backtype.storm.security.auth.DefaultPrincipalToLocal"
 storm.group.mapping.service: "backtype.storm.security.auth.ShellBasedGroupsMapping"
+storm.group.mapping.service.params: null
 storm.messaging.transport: "backtype.storm.messaging.netty.Context"
 storm.nimbus.retry.times: 5
 storm.nimbus.retry.interval.millis: 2000

http://git-wip-us.apache.org/repos/asf/storm/blob/e0f0ce57/storm-core/src/jvm/backtype/storm/Config.java
----------------------------------------------------------------------
diff --git a/storm-core/src/jvm/backtype/storm/Config.java b/storm-core/src/jvm/backtype/storm/Config.java
index 58e2a4a..83662db 100644
--- a/storm-core/src/jvm/backtype/storm/Config.java
+++ b/storm-core/src/jvm/backtype/storm/Config.java
@@ -189,6 +189,12 @@ public class Config extends HashMap<String, Object> {
     public static final Object STORM_GROUP_MAPPING_SERVICE_CACHE_DURATION_SECS_SCHEMA = Number.class;
 
     /**
+     * User groups mapping plugin parameters
+     */
+    public static final String STORM_GROUP_MAPPING_SERVICE_PARAMS = "storm.group.mapping.service.params";
+    public static final Object STORM_GROUP_MAPPING_SERVICE_PARAMS_SCHEMA = Map.class;
+
+    /**
      * The default transport plug-in for Thrift client/server communication
      */
     public static final String STORM_THRIFT_TRANSPORT_PLUGIN = "storm.thrift.transport";


Mime
View raw message