[
https://issues.apache.org/jira/browse/PHOENIX-4688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16634649#comment-16634649
]
Josh Elser commented on PHOENIX-4688:
-------------------------------------
{code:java}
+ python
/Users/jelser/projects/phoenix.git/phoenix-queryserver/./src/it/bin/test_phoenixdb.py
54673
DEBUG:phoenixdb.avatica.client:Sending request
connection_id: "ff1fba48-68c4-42c7-af09-a9b598f74bac"
DEBUG:phoenixdb.avatica.client:POST http://localhost:54673/
b'\n?org.apache.calcite.avatica.proto.Requests$OpenConnectionRequest\x12&\n$ff1fba48-68c4-42c7-af09-a9b598f74bac'
{'content-type': 'application/x-google-protobuf'}
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): localhost:54673
DEBUG:urllib3.connectionpool:http://localhost:54673 "POST / HTTP/1.1" 401 320
DEBUG:requests_kerberos.kerberos_:handle_401(): Handling: 401
ERROR:requests_kerberos.kerberos_:generate_request_header():
authGSSClientStep() failed:
Traceback (most recent call last):
File
"/Users/jelser/projects/phoenix.git/python/requests-kerberos/requests_kerberos/kerberos_.py",
line 235, in generate_request_header
negotiate_resp_value)
kerberos.GSSError: (('Unspecified GSS failure. Minor code may provide more
information', 851968), ("Cannot contact any KDC for realm 'EXAMPLE.COM'",
100001))
ERROR:requests_kerberos.kerberos_:(('Unspecified GSS failure. Minor code may
provide more information', 851968), ("Cannot contact any KDC for realm
'EXAMPLE.COM'", 100001))
Traceback (most recent call last):
File
"/Users/jelser/projects/phoenix.git/python/requests-kerberos/requests_kerberos/kerberos_.py",
line 235, in generate_request_header
negotiate_resp_value)
kerberos.GSSError: (('Unspecified GSS failure. Minor code may provide more
information', 851968), ("Cannot contact any KDC for realm 'EXAMPLE.COM'",
100001))
{code}
This is what I've figured out so far. I have a couple more things to try before
I throw in the towel. Just wanted to make sure that was something you had
tested and were expecting to work :) (not that you were on a Linux box the
whole time, haha)
> 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)