See upstream bug HIVE-10240
CLIService should create SessionState after logging into kerberos
Patch HIVE-9473 breaks KERBEROS
Thanks YoungWoo Kim for this quick review, commited
LGTM. I think Kerberos support is a kind of 'Must-Have' in current Bigtop stack. At this time, I'm +1 for the patching. Please commit it. Thanks Olaf Flebbe!
Cherry Pick from upstream added