|
@@ -19,7 +19,7 @@ import os
|
|
|
|
|
|
|
|
from django.utils.translation import ugettext_lazy as _t
|
|
from django.utils.translation import ugettext_lazy as _t
|
|
|
|
|
|
|
|
-from desktop.lib.conf import Config, validate_thrift_transport, coerce_str_lowercase
|
|
|
|
|
|
|
+from desktop.lib.conf import Config, validate_thrift_transport, coerce_str_lowercase, coerce_bool
|
|
|
|
|
|
|
|
|
|
|
|
|
HBASE_CLUSTERS = Config(
|
|
HBASE_CLUSTERS = Config(
|
|
@@ -57,7 +57,7 @@ USE_DOAS = Config(
|
|
|
key='use_doas',
|
|
key='use_doas',
|
|
|
help=_t('Force Hue to use Http Thrift mode with doas impersonation, regarless of hbase-site.xml properties.'),
|
|
help=_t('Force Hue to use Http Thrift mode with doas impersonation, regarless of hbase-site.xml properties.'),
|
|
|
default=False,
|
|
default=False,
|
|
|
- type=bool
|
|
|
|
|
|
|
+ type=coerce_bool
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
|
|
|