Drill Session ID between Nodes

2017-06-22 Thread John Omernik
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.

Re: Drill Session ID between Nodes

2017-06-22 Thread Paul Rogers
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

Re: Drill Session ID between Nodes

2017-06-22 Thread John Omernik
Would there be interest in finding a way to globalize this? This is challenging for me and others that may run drill with multi Tennant orchestrators. In my particular setup, each node running drill gets added to an a record automatically giving me HA and distribution of Rest API queries. It

Re: Drill Session ID between Nodes

2017-06-22 Thread Sorabh Hamirwasia
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