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

    https://github.com/apache/incubator-metron/pull/366#discussion_r89112046
  
    --- Diff: 
metron-platform/metron-common/src/main/java/org/apache/metron/common/stellar/shell/StellarExecutor.java
 ---
    @@ -143,11 +153,13 @@ public StellarExecutor(Console console) throws 
Exception {
     
       public StellarExecutor(String zookeeperUrl, Console console) throws 
Exception {
         this.variables = new HashMap<>();
    -    this.functionResolver = new StellarFunctions().FUNCTION_RESOLVER();
         this.client = createClient(zookeeperUrl);
         this.context = createContext();
    +    StellarFunctions.initialize(this.context);
    +    this.functionResolver = StellarFunctions.FUNCTION_RESOLVER();
    --- End diff --
    
    Yes, agreed.  I think that makes sense.  I'll hack on that a bit


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