Change-Id: I417fdbdf811c193d2cf9484fc9e287d6a7cc5516
@@ -105,6 +105,7 @@ CONFIG_WHITELIST = Config(
IMPALA_CONF_DIR = Config(
key='impala_conf_dir',
help=_t('Impala configuration directory, where impala_flags is located.'),
+ type=str,
default=os.environ.get("HUE_CONF_DIR", get_desktop_root("conf")) + '/impala-conf'
)
@@ -106,5 +106,5 @@ def _parse_impala_flags():
LOG.error('Cannot read from "%s": %s' % (impala_flags_path, err))
_IMPALA_FLAGS = {}
except Exception as ex:
- LOG.error('Failed to parse Impala config from "%s": %s' % (impala_flags_path, ex))
+ LOG.error('Failed to parse Impala flag file %s' % ex)