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

    https://github.com/apache/storm/pull/1837#discussion_r93810498
  
    --- Diff: 
storm-core/src/jvm/org/apache/storm/security/auth/SaslTransportPlugin.java ---
    @@ -64,8 +64,14 @@ public void prepare(ThriftConnectionType type, Map 
storm_conf, Configuration log
         @Override
         public TServer getServer(TProcessor processor) throws IOException, 
TTransportException {
             int port = type.getPort(storm_conf);
    +        Integer socketTimeout = type.getSocketTimeOut(storm_conf);
             TTransportFactory serverTransportFactory = 
getServerTransportFactory();
    -        TServerSocket serverTransport = new TServerSocket(port);
    +        TServerSocket serverTransport = null;
    +        if (socketTimeout != null) {
    --- End diff --
    
    if socketTimeout is defined in defaults.yaml, how can it ever be null ?


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