Github user Leemoonsoo commented on the pull request:

    https://github.com/apache/incubator-zeppelin/pull/575#issuecomment-167705196
  
    Thanks for the improvement.
    
    What do you think about overriding validateObject() in ClientFactory.java? 
for example
    
    ```
      @Override
      public boolean validateObject(PooledObject<Client> p) {
        return p.getObject().getInputProtocol().getTransport().isOpen() &&
                p.getObject().getOutputProtocol().getTransport().isOpen();
      }
    ```
    
    I'm not 100% sure if it is identical to this PR. but if it is, this could 
be more simple.


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