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

    https://github.com/apache/storm/pull/1918#discussion_r105096961
  
    --- Diff: bin/storm.py ---
    @@ -193,21 +205,26 @@ def parse_args(string):
         args = [re.compile(r"'((?:[^'\\]|\\.)*)'").sub('\\1', x) for x in args]
         return [re.compile(r'\\(.)').sub('\\1', x) for x in args]
     
    -def exec_storm_class(klass, jvmtype="-server", jvmopts=[], extrajars=[], 
args=[], fork=False, daemon=True, daemonName=""):
    -    global CONFFILE
    -    storm_log_dir = confvalue("storm.log.dir",[CLUSTER_CONF_DIR])
    -    if(storm_log_dir == None or storm_log_dir == "nil"):
    +
    +def exec_storm_class(klass, jvmtype="-server", jvmopts=None, 
extrajars=None, args=None, fork=False, daemon=True,
    --- End diff --
    
    Wow... I didn't know its behavior completely even I worked with Python for 
2 years! (4 years ago indeed...) Feels like far from its definition... Thanks 
for sharing.


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

Reply via email to