Hi John, As Paul mentioned session ID's are not global. Each session is part of the BitToUserConnection instance created for a connection between Drillbit and client. Hence it's local to that Drillbit only and the lifetime of the session is tied to lifetime of the connection. You can find the code here<https://github.com/apache/drill/blob/master/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserServer.java#L102>.
Thanks, Sorabh ________________________________ From: Paul Rogers <prog...@mapr.com> Sent: Thursday, June 22, 2017 2:19:50 PM To: user@drill.apache.org Subject: Re: Drill Session ID between Nodes Hi John, I do not believe that session IDs are global. Each Drillbit maintains its own concept of sessions. A global session would require some centralized registry of sessions, which Drill does not have. Would be great if someone can confirm… - Paul > On Jun 22, 2017, at 12:14 PM, John Omernik <j...@omernik.com> wrote: > > When I log onto a drill node, and get Session Id, if I connect to another > drill node in the cluster will the session id be valid? > > I am guessing not, but want to validate. > > My conumdrum, I have my Drill cluster running in such a way that the > connections to the nodes are load balanced via DNS. However, if I get a DNS > IP while in session it appears to invalidate, and thus forces me to log > on...