-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73037/
-----------------------------------------------------------
(Updated Dec. 1, 2020, 4:38 a.m.)
Review request for ranger, Ankita Sinha, Gautam Borad, Jayendra Parab, Mehul
Parikh, Pradeep Agrawal, and Velmurugan Periasamy.
Bugs: RANGER-3087
https://issues.apache.org/jira/browse/RANGER-3087
Repository: ranger
Description
-------
When a user configures a small heap size in install.properties, vm creation in
db_setup.py fails to apply the java patches with below error.
Error occurred during initialization of VM
Initial heap size set to a larger value than the maximum heap size
As a fix, adding checks for low heap size and setting default heap-size
accordingly.
Diffs
-----
security-admin/scripts/db_setup.py b448738d11af4dc3508f1c982d323593d2b676f1
Diff: https://reviews.apache.org/r/73037/diff/1/
Testing
-------
Validated changes for fresh install and upgrade from ranger-1.0 to master and
ranger-2.2 to master with heap-size less than 1024M and 2G.
Thanks,
Vishal Suvagia