HUE-8630 [core] dbms swap caching key username to id

Review Request #13487 - Created Oct. 29, 2018 and submitted

Jean-Francois Desjeans Gauthier
hue
master
HUE-8630
hue
jgauthier
commit 10306faa0068704dac4837793cca1ba2dc539fab
Author: jdesjean <jgauthier@cloudera.com>
Date:   Mon Oct 29 09:09:02 2018 -0700

    HUE-8630 [core] dbms swap caching key username to id.

:100644 100644 c134273397... 5dc5dcf607... M	apps/beeswax/src/beeswax/server/dbms.py

test_hiveserver2 removes & adds users with the same username which causes their id changes. This causes issue as the cache is resolved by username.

  1. This is a critical change so tp beware, but looks safe.
    Ideally would be nicer to fix the tests themselves, but might be tricky.

  2. 
      
Review request changed

Status: Closed (submitted)

Loading...