[
https://issues.apache.org/jira/browse/PHOENIX-4688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16542214#comment-16542214
]
ASF GitHub Bot commented on PHOENIX-4688:
-----------------------------------------
Github user joshelser commented on the issue:
https://github.com/apache/phoenix/pull/307
Ugh, I'm getting frustrated:
I have MIT kerberos on my Mac, so I unblocked myself first by just forcing
the minikdc config file to be made instead of the if-branch you added, Lev.
The next thing, I get a failure trying to launch python from the
virtualenv:
```
/Users/jelser/projects/phoenix.git/phoenix-queryserver/./src/it/bin/test_phoenixdb.sh:
line 59: 66933 Illegal instruction: 4 python $PYTHON_SCRIPT $PQS_PORT
```
This was reproducible doing it by hand, so I thought maybe it was related
to me using python-2.7.14 (old).
So, I switched over to Python-3.6.4, reinstalled everything, and I got this.
```
Traceback (most recent call last):
File
"/private/var/folders/4q/q02ykc2j5l1fg8nbs_sczskh0000gp/T/tmp.iUMwkyIZ/lib/python3.6/site-packages/requests_kerberos/kerberos_.py",
line 2, in <module>
import kerberos
ImportError:
dlopen(/private/var/folders/4q/q02ykc2j5l1fg8nbs_sczskh0000gp/T/tmp.iUMwkyIZ/lib/python3.6/site-packages/kerberos.cpython-36m-darwin.so,
2): Symbol not found: _mempcpy
Referenced from:
/private/var/folders/4q/q02ykc2j5l1fg8nbs_sczskh0000gp/T/tmp.iUMwkyIZ/lib/python3.6/site-packages/kerberos.cpython-36m-darwin.so
Expected in: flat namespace
in
/private/var/folders/4q/q02ykc2j5l1fg8nbs_sczskh0000gp/T/tmp.iUMwkyIZ/lib/python3.6/site-packages/kerberos.cpython-36m-darwin.so
```
I ran into another GH issue saying that pykerberos==1.1.14 fixed it for
them, but I'm not seeing a difference locally.
How do you feel about requiring Docker, @pu239ppy? ;)
> 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)