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

Josh Elser edited comment on PHOENIX-4688 at 7/10/18 4:30 PM:
--------------------------------------------------------------

Create and activate environment here 

[https://github.com/apache/phoenix/pull/307/files#diff-0d0a748959965a7cfdc725f33414d1c0R30]

 

KINIT here

[https://github.com/apache/phoenix/pull/307/files#diff-0d0a748959965a7cfdc725f33414d1c0R50]
 

There are minor improvements from the first take where the python script and 
krb5.conf both started out as heredocs inside the shell script.  I attempted to 
pull kin it into JAVA as well and pass the environment around but 
 # I failed to make this work
 # executing various shell commands from java adds a lot of bloat
 # I don't even know how I would source a script and then pass the resulting 
shell modifications onto the next one in java

Having encountered #3 I gave on further shell script pruning/elimination

 

Just realized that that I never transitioned from conda to virtualenv.  I am 
going to attempt to support both, but for now there is probably enough to look 
at.


was (Author: lbronshtein):
Create and activate environment here 

https://github.com/apache/phoenix/pull/307/files#diff-0d0a748959965a7cfdc725f33414d1c0R30

 

KINIT here

[https://github.com/apache/phoenix/pull/307/files#diff-0d0a748959965a7cfdc725f33414d1c0R50
]

 

There are minor improvements from the first take where the python script and 
krb5.conf both started out as heredocs inside the shell script.  I attempted to 
pull kin it into JAVA as well and pass the environment around but 
 # I failed to make this work
 # executing various shell commands from java adds a lot of bloat
 # I don't even know how I would source a script and then pass the resulting 
shell modifications onto the next one in java

Having encountered #3 I gave on further shell script pruning/elimination

 

Just realized that that I never transitioned from conda to virtualenv.  I am 
going to attempt to support both, but for now there is probably enough to look 
at.

> 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