Skip to content

Commit

Permalink
Merge pull request #17 from mapr/mapr-20440
Browse files Browse the repository at this point in the history
[MAPR-20440][Hue 3.9] AttributeError at /oozie/submit_workflow/1 'mod…
  • Loading branch information
IVarha committed Sep 7, 2015
2 parents bb7e632 + ecdd711 commit 87b6759
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/beeswax/src/beeswax/hive_site.py
Expand Up @@ -86,7 +86,8 @@ def get_metastore():
is_local = thrift_uris is None or thrift_uris == ''

if not is_local:
use_sasl = beeswax.conf.SECURITY_ENABLED.get()
hive_mechanism = str(beeswax.conf.MECHANISM.get()).upper()
use_sasl = hive_mechanism in ('GSSAPI', 'NONE', 'MAPR-SECURITY', 'LDAP')
thrift_uri = thrift_uris.split(",")[0] # First URI
host = socket.getfqdn()
match = _THRIFT_URI_RE.match(thrift_uri)
Expand Down

0 comments on commit 87b6759

Please sign in to comment.