prasanthj opened a new pull request #1761:
URL: https://github.com/apache/hive/pull/1761


   ### What changes were proposed in this pull request?
   When FS Root is updated using metatool, if the DB has managed location 
defined, 
   updateMDatabaseURI API should update the managed location as well. Currently 
it only updates location uri.
   
   ### Why are the changes needed?
   Hive metatool is used for cases where NN changes and the metastore fs root 
has to be updated. When updating the fs root using metatool, if the databases 
have MANAGEDLOCATION explicitly defined the tool misses to update the fs root 
of the managed location. 
   
   ### Does this PR introduce _any_ user-facing change?
   Fixes user facing bug for specific fs root change scenario.
   
   ### How was this patch tested?
   Manually in test cluster which has ability to Update FS Root. 


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to