vikaskr22 opened a new pull request, #556: URL: https://github.com/apache/ranger/pull/556
…nal key store ## What changes were proposed in this pull request? Initialisation of metadata in RangerMasterkey (like message digest, algorithm etc) was happening selectively for generateMasterKey() methods only. But to migrate key from DB to any external keyStore, generateMasterKey() is not called and hence these metadata remains null. Fix is to invoke init() method from RangerMasterkey constructor itself so that metadata remains available for all invocations. ## How was this patch tested? Complete Ranger build, Unit Testing, created new docker image of KMS and performed basic key operations. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@ranger.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org