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

    https://github.com/apache/storm/pull/1507#discussion_r69797890
  
    --- Diff: 
storm-core/src/jvm/org/apache/storm/daemon/supervisor/workermanager/DefaultWorkerManager.java
 ---
    @@ -347,14 +347,24 @@ protected String getWorkerClassPath(String stormJar, 
Map stormConf) {
             List<String> topoClasspath = new ArrayList<>();
             Object object = stormConf.get(Config.TOPOLOGY_CLASSPATH);
     
    +        // Will be populated only if STORM_USER_CLASSPATH_FIRST_ENABLED is 
set on Nimbus.
    +        // Allowed for extreme debugging.
    +        Object topologyClasspathFirst = 
stormConf.get(Config.TOPOLOGY_CLASSPATH_FIRST);
    +        List<String> firstClasspathList = new ArrayList<>();
    +        if(topologyClasspathFirst instanceof List) {
    +           firstClasspathList.addAll((List<String>)topologyClasspathFirst);
    +        } else if (topologyClasspathFirst instanceof String) {
    +            firstClasspathList.add((String) topologyClasspathFirst);
    +        }
    --- End diff --
    
    Done.


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

Reply via email to