There are a host of errors that can happen when logging into an LDAP-enabled Hive-server2 from beeline. But for any error there is only a generic log message:
And on Beeline side there is only an even more unhelpful message:
It would be good to print out the underlying error message at least in the log, if not beeline. But today they are swallowed. This is bad because the underlying message is the most important, having the error codes as shown here : LDAP error code
The beeline seems to throw that exception for any error during connection, authetication or otherwise.