Hi All,

I can see LensClient.isConnectionOpen just checks if the connection was ever established with the LensServer. However in my opinion it should rather make a call to Session service and then check if the Hive session is still valid in HiveSessionService.java.

Also, In HiveSessionService I can see that removal of the key from SESSION_MAP happens only when an explicit call to closeSession is made, so isOpen method in HiveSessionService won't work as is, but we should rather query cliService to verify if the session is indeed valid.

Thoughts?

If there are no objections to the proposed change in behavior then I'll file the jira.

Regards,
-Pranav.

Reply via email to