fixes for Hive

Signed-off-by: Colin Patrick McCabe <cmccabe@cloudera.com>