HUE-9358 [hive] Reset selected server instance after LLAP HA failover

Review Request #15177 — Created May 21, 2020 and updated

romain
hue
master
HUE-9358
hue
johan, ranade, romain, weixia, yingc
commit 5258c6c87f83521cace15b4cea74bc5ca461b0c7
Author: Romain <romain.rigaux@gmail.com>
Date:   Thu May 21 15:33:52 2020 -0700

    HUE-9358 [hive] Reset selected server instance after LLAP HA failover
    
    Note: requires a page refresh of Hue to trigger a new create_session
    (or manual click on 'Recreate' session in the Session panel of the
    editor).
    
    Seamless without page refresh requires more logic.
    
    Tests coming.

:100644 100644 fba50e3033 fb87375d53 M	apps/beeswax/src/beeswax/server/dbms.py
:100644 100644 c95764676a 6e666b7729 M	desktop/libs/notebook/src/notebook/connectors/hiveserver2.py

POC

To check:
- if need to reset DBMS_CACHE so
- add test if multiple users triggers the switch at the same time
- just do via the clear session button
- UX globally for seamless or good enough

romain
romain
Review request changed

Testing Done:

   

POC

  +
  +

To check:

  + - if need to reset DBMS_CACHE so
  + - add test if multiple users triggers the switch at the same time
  + - just do via the clear session button
  + - UX globally for seamless or good enough

johan
  1. Ship It!
  2. 
      
Loading...