Github user harshach commented on a diff in the pull request:
https://github.com/apache/storm/pull/1445#discussion_r70194012
--- Diff: storm-core/src/jvm/org/apache/storm/daemon/StormCommon.java ---
@@ -539,10 +542,34 @@ protected IAuthorizer
mkAuthorizationHandlerImpl(String klassName, Map conf) thr
if (aznHandler != null) {
aznHandler.prepare(conf);
}
- LOG.debug("authorization class name:{}, class:{},
handler:{}",klassName, aznClass, aznHandler);
+ LOG.debug("authorization class name:{}, class:{},
handler:{}", klassName, aznClass, aznHandler);
}
}
return aznHandler;
}
+
+ public static WorkerTopologyContext makeWorkerContext(Map<String,
Object> workerData) {
+ try {
+ StormTopology stormTopology = (StormTopology)
workerData.get("system-topology");
--- End diff --
we should add these strings at the top with private static final String
---
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 [email protected] or file a JIRA ticket
with INFRA.
---