HUE-8737 [py3] Various fixes to polish 500 errors properly

Review Request #14444 — Created Nov. 5, 2019 and submitted

romain
hue
master
HUE-8737
hue
jgauthier, johan, ranade, romain, weixia, yingc
commit 5c1fc5aca8c9e54da8bb3f7dcf2f66cf18c5888e
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Nov 4 19:01:46 2019 -0800

    HUE-8737 [aws] has_key() was removed in py3

:100644 100644 176e065b56 cc4877b655 M	apps/filebrowser/src/filebrowser/templates/fb_components.mako
:100644 100644 1692ff5562 6f4bf2aeff M	desktop/libs/aws/src/aws/client.py

commit 5d6680458e072274b3110eb8cd47a5a23c673afe
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Nov 4 18:58:19 2019 -0800

    HUE-8737 [py3] Metastore and indexer should not crash even if no network

:100644 100644 21c3a08dc2 50d25f6415 M	apps/metastore/src/metastore/templates/components.mako
:100644 100644 4eab457810 7560751710 M	apps/metastore/src/metastore/templates/metastore.mako
:100644 100644 c51838d2e3 ec28fa0046 M	desktop/libs/indexer/src/indexer/templates/indexes.mako

commit 8a2c8eb6ec799df09bfabfcd8bc49d79ef9bc731
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Nov 4 18:54:59 2019 -0800

    HUE-8737 [py3] Avoid NameError: Undefined when opening jobbrowser

:100644 100644 e060eaf419 f68d8dc032 M	apps/jobbrowser/src/jobbrowser/templates/job_browser.mako

commit ea40f74c74d8dc85f7cd5eb147f93c923ab322c1
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Nov 4 18:53:48 2019 -0800

    HUE-8737 [core] Avoid double 500 on traceback with py3
    
    TypeError: Object of type 'FrameSummary' is not JSON serializable

:100644 100644 d9cf38c775 ab1476b01b M	desktop/core/src/desktop/lib/django_util.py
:100644 100644 6727e6f65c e703a07442 M	desktop/core/src/desktop/lib/exceptions_renderable.py

manual

jgauthier
  1. Ship It!
  2. 
      
romain
Review request changed

Status: Closed (submitted)

Loading...