Github user pu239ppy commented on the issue:

    https://github.com/apache/phoenix/pull/307
  
    @zhouwei0914 This PR is no longer active, please see #344 
    However here is a quick recap of the issue:  It has been relatively easy to 
rewrite python-phoenixdb to use requests, however we found out that during 
authentication requests-kerberos sends a kerberos OID rather then a SPNEGO OID 
for mechanism.  There were two workarounds 
    1. Patch requests-kerberos (was never merged requests-kerberos#115 )
    2. A new SPNEGO handler for Avatica that would override Jetty's default 
handler (CALCITE-1922)
    
    It turned out that 2 Produced the desired effect that I abandoned the path 
of attempting to path requests-kerberos.  However in the current PR #344 on top 
of Phoenix 5 it appears that this strategy no longer works. See additional 
details in later comments in PHOENIX-4688


---

Reply via email to