[ 
https://issues.apache.org/jira/browse/PHOENIX-4688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16607486#comment-16607486
 ] 

Lev Bronshtein commented on PHOENIX-4688:
-----------------------------------------

Need to figure out why I am seeing this now
{quote}
bq. 2018-09-07 12:51:00,349 ERROR [main] 
end2end.SecureQueryServerPhoenixDBIT(352): + echo 'RUN PYTHON TEST on port 
53029'
2018-09-07 12:51:00,349 ERROR [main] end2end.SecureQueryServerPhoenixDBIT(352): 
+ python /Users/lbronshtein/DEV/phoenix/phoenix-queryserver/./src/
it/bin/test_phoenixdb.py 53029
2018-09-07 12:51:00,349 ERROR [main] end2end.SecureQueryServerPhoenixDBIT(352): 
/Users/lbronshtein/DEV/phoenix/python/phoenixdb/avatica/client.py:
123: RuntimeWarning: Unexpected end-group tag: Not all data was converted
2018-09-07 12:51:00,349 ERROR [main] end2end.SecureQueryServerPhoenixDBIT(352): 
err.ParseFromString(message.wrapped_message)
2018-09-07 12:51:00,349 ERROR [main] end2end.SecureQueryServerPhoenixDBIT(352): 
Traceback (most recent call last):(
2018-09-07 12:51:00,349 ERROR [main] end2end.SecureQueryServerPhoenixDBIT(352): 
File "/Users/lbronshtein/DEV/phoenix/phoenix-queryserver/./src/i
t/bin/test_phoenixdb.py", line 11, in <module>
2018-09-07 12:51:00,349 ERROR [main] end2end.SecureQueryServerPhoenixDBIT(352): 
conn = phoenixdb.connect(database_url, autocommit=True, auth="
SPNEGO")
2018-09-07 12:51:00,350 ERROR [main] end2end.SecureQueryServerPhoenixDBIT(352): 
File "/Users/lbronshtein/DEV/phoenix/python/phoenixdb/__init__.p
y", line 72, in connect
2018-09-07 12:51:00,350 ERROR [main] end2end.SecureQueryServerPhoenixDBIT(352): 
return Connection(client, **kwargs)
2018-09-07 12:51:00,350 ERROR [main] end2end.SecureQueryServerPhoenixDBIT(352): 
File "/Users/lbronshtein/DEV/phoenix/python/phoenixdb/connection
.py", line 57, in __init__
2018-09-07 12:51:00,350 ERROR [main] end2end.SecureQueryServerPhoenixDBIT(352): 
self.open()
2018-09-07 12:51:00,350 ERROR [main] end2end.SecureQueryServerPhoenixDBIT(352): 
File "/Users/lbronshtein/DEV/phoenix/python/phoenixdb/connection
.py", line 74, in open
2018-09-07 12:51:00,350 ERROR [main] end2end.SecureQueryServerPhoenixDBIT(352): 
self._client.open_connection(self._id, info=self._connection_a
rgs)
2018-09-07 12:51:00,350 ERROR [main] end2end.SecureQueryServerPhoenixDBIT(352): 
File "/Users/lbronshtein/DEV/phoenix/python/phoenixdb/avatica/cl
ient.py", line 319, in open_connection
2018-09-07 12:51:00,350 ERROR [main] end2end.SecureQueryServerPhoenixDBIT(352): 
response_data = self._apply(request)
2018-09-07 12:51:00,350 ERROR [main] end2end.SecureQueryServerPhoenixDBIT(352): 
File "/Users/lbronshtein/DEV/phoenix/python/phoenixdb/avatica/cl
ient.py", line 206, in _apply
2018-09-07 12:51:00,350 ERROR [main] end2end.SecureQueryServerPhoenixDBIT(352): 
parse_error_protobuf(response_body)
2018-09-07 12:51:00,350 ERROR [main] end2end.SecureQueryServerPhoenixDBIT(352): 
File "/Users/lbronshtein/DEV/phoenix/python/phoenixdb/avatica/cl
ient.py", line 127, in parse_error_protobuf
2018-09-07 12:51:00,350 ERROR [main] end2end.SecureQueryServerPhoenixDBIT(352): 
raise errors.InternalError(err.error_message)
2018-09-07 12:51:00,350 ERROR [main] end2end.SecureQueryServerPhoenixDBIT(352): 
phoenixdb.errors.InternalError: (u'', None, None, None)
2018-09-07 12:51:00,350 ERROR [main] end2end.SecureQueryServerPhoenixDBIT(352): 
Exception phoenixdb.errors.InternalError: InternalError(u'', None,
 None, None) in <bound method Connection.__del__ of 
<phoenixdb.connection.Connection object at 0x10f2d52d0>> ignored
{quote}

> Add kerberos authentication to python-phoenixdb
> -----------------------------------------------
>
>                 Key: PHOENIX-4688
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4688
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Lev Bronshtein
>            Priority: Minor
>
> In its current state python-phoenixdv does not support support kerberos 
> authentication.  Using a modern python http library such as requests or 
> urllib it would be simple (if not trivial) to add this support.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to