{
rc = hiveDriver.processEmbeddedQuery(hQry);
}
catch(Throwable t)
{
throw new WindowingException(sprintf("Error while executing hive query '%s'", hQry), t);
}
finally
{
hiveConsole.printInfo(sprintf("Finished Executing Embedded Hive Query\n"));
}
if ( rc != 0)
{
throw new WindowingException(sprintf("Failed to execute query '%s', return = %d", hQry, rc));
}
}