fixed Exception for unknown HiveServer2 security mechanism that otherwise obscures the real error with global name _ not defined unhandled exception