HUE-8737 [core] Initial python 3 support

Review Request #13888 — Created April 23, 2019 and submitted

yingc
hue
ying-django
hue
jgauthier, johan, ranade, romain, weixia
commit 893c60a6c6c095049e18c9a86a7ca7a975fffde4
Author: Ying Chen <yingchen@cloudera.com>
Date:   Mon Apr 22 18:13:34 2019 -0700

    [core] Fix Hive Thrift (step 2) for Python 3.5

:100644 100644 db3ef24... 49d32fa... M	apps/beeswax/gen-py/TCLIService/ttypes.py
:100644 100644 e4fda47... 979fcc6... M	apps/beeswax/src/beeswax/models.py
:100644 100644 be6b278... bdc4665... M	apps/beeswax/src/beeswax/server/hive_server2_lib.py
:100644 100644 6bd4c2c... f16d406... M	desktop/core/src/desktop/lib/thrift_sasl.py
:100644 100644 9a9d373... 78d1796... M	desktop/libs/notebook/src/notebook/connectors/hiveserver2.py

commit c186b99a08acb5931b2780ff9cb1aee10f28b10b
Author: Ying Chen <yingchen@cloudera.com>
Date:   Wed Apr 17 13:36:02 2019 -0700

    [hive] Fix Hive thrift for Python 3.5

:100644 100644 3538ad2... e3a0a29... M	apps/beeswax/src/beeswax/api.py
:100644 100644 858fb46... e4fda47... M	apps/beeswax/src/beeswax/models.py
:100644 100644 9f00651... 6bd4c2c... M	desktop/core/src/desktop/lib/thrift_sasl.py
:100644 100644 4889c3c... fa3f83c... M	desktop/core/src/desktop/lib/thrift_util.py

desktop/core/src/desktop/lib/thrift_sasl.py is updated to latest version, and it contains all Hue fixes in previous version.

  • 0
  • 0
  • 1
  • 2
  • 3
Description From Last Updated
romain
  1. 
      
  2. How often does it fail?

  3. 
      
jgauthier
  1. 
      
  2. This doesn't look right.

    1. This is from new version of thrift_sasl:
      https://github.com/cloudera/thrift_sasl/blob/master/thrift_sasl/init.py#L168

  3. Shouldn't this be in base64?

    1. handle.get() return server_id, server_guid as bytes type.
  4. 
      
yingc
yingc
yingc
yingc
Review request changed

Status: Closed (submitted)

Loading...