[jira] [Comment Edited] (PHOENIX-4688) Add kerberos authentication to python-phoenixdb

2018-07-10 Thread Lev Bronshtein (JIRA)


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

Lev Bronshtein edited comment on PHOENIX-4688 at 7/10/18 8:19 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 kinit 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 up 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)


[jira] [Comment Edited] (PHOENIX-4688) Add kerberos authentication to python-phoenixdb

2018-07-10 Thread Josh Elser (JIRA)


[ 
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)


[jira] [Comment Edited] (PHOENIX-4688) Add kerberos authentication to python-phoenixdb

2018-06-28 Thread Lev Bronshtein (JIRA)


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

Lev Bronshtein edited comment on PHOENIX-4688 at 6/28/18 7:26 PM:
--

Test is working 

2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
CREATING PQS CONNECTION
 2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
[[1, u'admin'], [2, u'user']]

now just need to clean it up. 
 * -How do I pass down proxy settings?  Or should I assume no proxy?- Inherited 
from callers shell
 * -The heimdal kerberos utilities apple ships does not support krb5.conf 
format miniKDC ships (minor variations)- Render a custom krb5.conf if MAC
 * Currently a shell script is needed to launch.  I tried taking out as much as 
possible but I still need to kinit, also it needs to source activate script
 * -Do we care if it only works on Linux?-  It will work on MAC OS too
 * -currently only works with Anaconda, would rather see it with virtualenv,- 
though neither one comes pre installed on stock MAC OS

 

 


was (Author: lbronshtein):
Test is working 

2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
CREATING PQS CONNECTION
 2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
[[1, u'admin'], [2, u'user']]

now just need to clean it up. 
 * -How do I pass down proxy settings?  Or should I assume no proxy?- Inherited 
from callers shell
 * -The heimdal kerberos utilities apple ships does not support krb5.conf 
format miniKDC ships (minor variations)- Render a custom krb5.conf if MAC
 * Currently a shell script is needed to launch.  I tried taking out as much as 
possible but I still need to kinit, also it needs to source activate script
 * -Do we care if it only works on Linux?-  It will work on MAC OS too
 * currently only works with Anaconda, would rather see it with virtualenv, 
though neither one comes pre installed on stock MAC OS

 

 

> 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)


[jira] [Comment Edited] (PHOENIX-4688) Add kerberos authentication to python-phoenixdb

2018-06-28 Thread Lev Bronshtein (JIRA)


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

Lev Bronshtein edited comment on PHOENIX-4688 at 6/28/18 6:57 PM:
--

Test is working 

2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
CREATING PQS CONNECTION
 2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
[[1, u'admin'], [2, u'user']]

now just need to clean it up. 
 * -How do I pass down proxy settings?  Or should I assume no proxy?- Inherited 
from callers shell
 * -The heimdal kerberos utilities apple ships does not support krb5.conf 
format miniKDC ships (minor variations)- Render a custom krb5.conf if MAC
 * Currently a shell script is needed to launch.  I tried taking out as much as 
possible but I still need to kinit, also it needs to source activate script
 * -Do we care if it only works on Linux?-  It will work on MAC OS too
 * currently only works with Anaconda, would rather see it with virtualenv, 
though neither one comes pre installed on stock MAC OS

 

 


was (Author: lbronshtein):
Test is working 

2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
CREATING PQS CONNECTION
 2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
[[1, u'admin'], [2, u'user']]

now just need to clean it up. 
 * -How do I pass down proxy settings?  Or should I assume no proxy?- Inherited 
from callers shell
 * -The heimdal kerberos utilities apple ships does not support krb5.conf 
format miniKDC ships (minor variations)- Render a custom krb5.conf if MAC
 * Currently a shell script is needed to launch.  I tried taking out as much as 
possible but I still need to kinit, also it needs to source activate script
 * -Do we care if it only works on Linux?-  It will work on MAC OS too
 * currently only works with Anaconda, would rather see it with virtualenv

 

 

> 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)


[jira] [Comment Edited] (PHOENIX-4688) Add kerberos authentication to python-phoenixdb

2018-06-28 Thread Lev Bronshtein (JIRA)


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

Lev Bronshtein edited comment on PHOENIX-4688 at 6/28/18 6:47 PM:
--

Test is working 

2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
CREATING PQS CONNECTION
 2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
[[1, u'admin'], [2, u'user']]

now just need to clean it up. 
 * -How do I pass down proxy settings?  Or should I assume no proxy?- Inherited 
from callers shell
 * -The heimdal kerberos utilities apple ships does not support krb5.conf 
format miniKDC ships (minor variations)- Render a custom krb5.conf if MAC
 * Currently a shell script is needed to launch.  I tried taking out as much as 
possible but I still need to kinit, also it needs to source activate script
 * -Do we care if it only works on Linux?-  It will work on MAC OS too
 * currently only works with Anaconda, would rather see it with virtualenv

 

 


was (Author: lbronshtein):
Test is working 

2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
CREATING PQS CONNECTION
 2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
[[1, u'admin'], [2, u'user']]

now just need to clean it up. 
 * -How do I pass down proxy settings?  Or should I assume no proxy?- Inherited 
from callers shell
 * -The heimdal kerberos utilities apple ships does not support krb5.conf 
format miniKDC ships (minor variations)- Render a custom krb5.conf if MAC
 * Currently a shell script is needed to launch.  I tried taking out as much as 
possible but I still need to kinit
 * -Do we care if it only works on Linux?-  It will work on MAC OS too
 * currently only works with Anaconda, would rather see it with virtualenv

 

 

> 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)


[jira] [Comment Edited] (PHOENIX-4688) Add kerberos authentication to python-phoenixdb

2018-06-27 Thread Lev Bronshtein (JIRA)


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

Lev Bronshtein edited comment on PHOENIX-4688 at 6/27/18 7:54 PM:
--

Test is working 

2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
CREATING PQS CONNECTION
 2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
[[1, u'admin'], [2, u'user']]

now just need to clean it up. 
 * -How do I pass down proxy settings?  Or should I assume no proxy?- Inherited 
from callers shell
 * -The heimdal kerberos utilities apple ships does not support krb5.conf 
format miniKDC ships (minor variations)- Render a custom krb5.conf if MAC
 * Currently a shell script is needed to launch.  I tried taking out as much as 
possible but I still need to kinit
 * -Do we care if it only works on Linux?-  It will work on MAC OS too
 * currently only works with Anaconda, would rather see it with virtualenv

 

 


was (Author: lbronshtein):
Test is working 

2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
CREATING PQS CONNECTION
 2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
[[1, u'admin'], [2, u'user']]

now just need to clean it up. 
 * -How do I pass down proxy settings?  Or should I assume no proxy?- Inherited 
from callers shell
 * -The heimdal kerberos utilities apple ships does not support krb5.conf 
format miniKDC ships (minor variations)- Render a custom krb5.conf if MAC
 * Currently a shell script is needed to launch.  I tried taking out as much as 
possible but I still need to kinit
 * Do we care if it only works on Linux?
 * currently only works with Anaconda, would rather see it with virtualenv

 

 

> 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)


[jira] [Comment Edited] (PHOENIX-4688) Add kerberos authentication to python-phoenixdb

2018-06-27 Thread Lev Bronshtein (JIRA)


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

Lev Bronshtein edited comment on PHOENIX-4688 at 6/27/18 7:48 PM:
--

Test is working 

2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
CREATING PQS CONNECTION
 2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
[[1, u'admin'], [2, u'user']]

now just need to clean it up. 
 * -How do I pass down proxy settings?  Or should I assume no proxy?- Inherited 
from callers shell
 * -The heimdal kerberos utilities apple ships does not support krb5.conf 
format miniKDC ships (minor variations)- Render a custom krb5.conf if MAC
 * Currently a shell script is needed to launch.  I tried taking out as much as 
possible but I still need to kinit
 * Do we care if it only works on Linux?
 * currently only works with Anaconda, would rather see it with virtualenv

 

 


was (Author: lbronshtein):
Test is working 

2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
CREATING PQS CONNECTION
 2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
[[1, u'admin'], [2, u'user']]

now just need to clean it up. 
 * -How do I pass down proxy settings?  Or should I assume no proxy?- Inherited 
from callers shell
 * The heimdal kerberos utilities apple ships does not support krb5.conf format 
miniKDC ships (minor variations)
 * Currently a shell script is needed to launch
 * Do we care if it only works on Linux?
 * currently only works with Anaconda, would rather see it with virtualenv

 

 

> 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)


[jira] [Comment Edited] (PHOENIX-4688) Add kerberos authentication to python-phoenixdb

2018-06-27 Thread Lev Bronshtein (JIRA)


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

Lev Bronshtein edited comment on PHOENIX-4688 at 6/27/18 7:06 PM:
--

Test is working 

2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
CREATING PQS CONNECTION
 2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
[[1, u'admin'], [2, u'user']]

now just need to clean it up. 
 * -How do I pass down proxy settings?  Or should I assume no proxy?- Inherited 
from callers shell
 * The heimdal kerberos utilities apple ships does not support krb5.conf format 
miniKDC ships (minor variations)
 * Currently a shell script is needed to launch
 * Do we care if it only works on Linux?
 * currently only works with Anaconda, would rather see it with virtualenv

 

 


was (Author: lbronshtein):
Test is working 

2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
CREATING PQS CONNECTION
 2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
[[1, u'admin'], [2, u'user']]

now just need to clean it up. 
 * -How do I pass down proxy settings?  Or should I assume no proxy?- Inherited 
from callers shell
 * The heimdal kerberos utilities apple ships does not support krb5.conf format 
miniKDC ships (minor variations)
 * Currently a shell script is needed to launch
 * Do we care if it only works on Linux?

 

 

> 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)


[jira] [Comment Edited] (PHOENIX-4688) Add kerberos authentication to python-phoenixdb

2018-06-27 Thread Lev Bronshtein (JIRA)


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

Lev Bronshtein edited comment on PHOENIX-4688 at 6/27/18 5:32 PM:
--

Test is working 

2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
CREATING PQS CONNECTION
 2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
[[1, u'admin'], [2, u'user']]

now just need to clean it up. 
 * -How do I pass down proxy settings?  Or should I assume no proxy?- Inherited 
from callers shell
 * The heimdal kerberos utilities apple ships does not support krb5.conf format 
miniKDC ships (minor variations)
 * Currently a shell script is needed to launch
 * Do we care if it only works on Linux?

 

 


was (Author: lbronshtein):
Test is working 

2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
CREATING PQS CONNECTION
 2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
[[1, u'admin'], [2, u'user']]

now just need to clean it up. 
 * -How do I pass down proxy settings?  Or should I assume no proxy?-
 * The heimdal kerberos utilities apple ships does not support krb5.conf format 
miniKDC ships (minor variations)
 * Currently a shell script is needed to launch
 * Do we care if it only works on Linux?

 

 

> 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)


[jira] [Comment Edited] (PHOENIX-4688) Add kerberos authentication to python-phoenixdb

2018-06-27 Thread Lev Bronshtein (JIRA)


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

Lev Bronshtein edited comment on PHOENIX-4688 at 6/27/18 5:14 PM:
--

Test is working 

2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
CREATING PQS CONNECTION
 2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
[[1, u'admin'], [2, u'user']]

now just need to clean it up. 
 * -How do I pass down proxy settings?  Or should I assume no proxy?-
 * The heimdal kerberos utilities apple ships does not support krb5.conf format 
miniKDC ships (minor variations)
 * Currently a shell script is needed to launch
 * Do we care if it only works on Linux?

 

 


was (Author: lbronshtein):
Test is working 

2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
CREATING PQS CONNECTION
2018-06-27 12:52:15,048 INFO [main] end2end.SecureQueryServerPhoenixDBIT(310): 
[[1, u'admin'], [2, u'user']]

now just need to clean it up.  


 * How do I pass down proxy settings?  Or should I assume no proxy?
 * The heimdal kerberos utilities apple ships does not support krb5.conf format 
miniKDC ships (minor variations)
 * Currently a shell script is needed to launch
 * Do we care if it only works on Linux?

 

 

> 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)


[jira] [Comment Edited] (PHOENIX-4688) Add kerberos authentication to python-phoenixdb

2018-06-06 Thread Lev Bronshtein (JIRA)


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

Lev Bronshtein edited comment on PHOENIX-4688 at 6/6/18 6:40 PM:
-

Currently this would be a manual where a user would be forced to spin up a 
virtual environment go to first install requests-kerberos by going to 
requests-kerberos-fork-module and running setup.py install.  Following that 
going to phoenixdb-module and running setup.py install.  Using a virtual 
environment would ensure that our kerberos-requests for does not conflict with 
any previously installed kerberos-requests module (I suppose I should also bump 
the version number to ensure that, alternatively do a full rename).  If a user 
is careful then a virtual environment is not necessarily needed.  In addition 
we do a rename and push both modules into pipy, so a simple pip install would 
do what is needed.  Is there any ASF governance regarding the latter option?


was (Author: lbronshtein):
Currently this would be a manual where a user would be forced to spin up a 
virtual environment go to first install requests-kerberos by going to 
requests-kerberos-fork-module and running setup.py install.  Following that 
going to phoenixdb-module and running setup.py install.  Using a virtual 
environment would ensure that our kerberos-requests for does not conflict with 
any previously installed kerberos-requests module (I suppose I should also bump 
the version number to ensure that, alternatively do a full rename).  If a user 
is careful then a virtual environment is not necessarily needed.  Alternatively 
we do a rename and push both modules into pipy, so a simple pip install would 
do what is needed.  

> 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)


[jira] [Comment Edited] (PHOENIX-4688) Add kerberos authentication to python-phoenixdb

2018-06-06 Thread Lev Bronshtein (JIRA)


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

Lev Bronshtein edited comment on PHOENIX-4688 at 6/6/18 6:39 PM:
-

Currently this would be a manual where a user would be forced to spin up a 
virtual environment go to first install requests-kerberos by going to 
requests-kerberos-fork-module and running setup.py install.  Following that 
going to phoenixdb-module and running setup.py install.  Using a virtual 
environment would ensure that our kerberos-requests for does not conflict with 
any previously installed kerberos-requests module (I suppose I should also bump 
the version number to ensure that, alternatively do a full rename).  If a user 
is careful then a virtual environment is not necessarily needed.  Alternatively 
we do a rename and push both modules into pipy, so a simple pip install would 
do what is needed.  


was (Author: lbronshtein):
Currently this would be a manual where a user would be forced to spin up a 
virtual environment go to first install requests-kerberos by going to 
requests-kerberos-fork-module and running setup.py install.  Following that 
going to phoenixdb-module and running setup.py install.  Using a virtual 
environment would ensure that our kerberos-requests for does not conflict with 
any previously installed kerberos-requests module (I suppose I should also bump 
the version number to ensure that, alternatively do a full rename).

> 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)


[jira] [Comment Edited] (PHOENIX-4688) Add kerberos authentication to python-phoenixdb

2018-06-06 Thread Lev Bronshtein (JIRA)


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

Lev Bronshtein edited comment on PHOENIX-4688 at 6/6/18 5:24 PM:
-

Added my changes on top


was (Author: lbronshtein):
Added my changes on top!

> 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)