Skip to content

Commit

Permalink
Test4
Browse files Browse the repository at this point in the history
  • Loading branch information
balmar committed Jul 3, 2024
1 parent 70da000 commit f9558ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions impala/_thrift_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,9 @@ def isOpen(self):
return self.handle is not None

if ca_cert is None:
return ImpalaTSSLSocket(host, port, validate=False)
return TSSLSocket(host, port, validate=False)
else:
return ImpalaTSSLSocket(host, port, validate=True, ca_certs=ca_cert)
return TSSLSocket(host, port, validate=True, ca_certs=ca_cert)
else:
return TSocket(host, port)

Expand Down
3 changes: 1 addition & 2 deletions impala/hiveserver2.py
Original file line number Diff line number Diff line change
Expand Up @@ -898,8 +898,7 @@ def connect(host, port, timeout=None, use_ssl=False, ca_cert=None,
user_agent=None):
log.debug('Connecting to HiveServer2 %s:%s with %s authentication '
'mechanism', host, port, auth_mechanism)
log.critical('THIS time it works!')
print('This works!')

if krb_host:
kerberos_host = krb_host
else:
Expand Down

0 comments on commit f9558ce

Please sign in to comment.