[oozie] 500 error when trying to submit Hive Workflow when beeswax blacklisted
@@ -51,6 +51,9 @@ class Credentials(object):
credentials = {}
from beeswax import hive_site, conf
+ if not hasattr(conf.HIVE_SERVER_HOST, 'get'):
+ LOG.warn('Could not get all the Oozie credentials: beeswax app is blacklisted.')
+ else:
if hive_properties is None:
hive_properties = hive_site.get_metastore()
if hive_properties:
