Map<String, String> sessionConf = startSession();
SessionHandle sessionHandle = cliService.openSession("", "", sessionConf);
try {
// Convert to GetInfoType
GetInfoType hiveInfoType = null;
for (GetInfoType t : GetInfoType.values()) {
if (t.name().equals("CLI_" + infoType.name())) {
hiveInfoType = t;
break;
}