Qifan Chen has uploaded this change for review. (
http://gerrit.cloudera.org:8080/16566
Change subject: IMPALA-9754 buffer_pool_limit error message is confusing
......................................................................
IMPALA-9754 buffer_pool_limit error message is confusing
This fix reworded following two error messages for clarity.
1. "Invalid --buffer_pool_limit value, must be a percentage or positive bytes
value
or percentage:"
2. "Invalid --buffer_pool_clean_pages_limit value, must be a percentage or
positive
bytes value or percentage:"
The fix also enhanced the code to verify that the JVM max heap size is less
than the
process memory limit and raise a new error message otherwise: "Invalid JVM max
heap
size $0, must be smaller than process memory limit $1".
Testing:
1. Unit testing;
2. Ran Core tests successfully.
Change-Id: I15ce1cdcc168163b3f5b21e778f9bf6e6b7730d5
---
M be/src/runtime/exec-env.cc
1 file changed, 11 insertions(+), 4 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/66/16566/1
--
To view, visit http://gerrit.cloudera.org:8080/16566
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I15ce1cdcc168163b3f5b21e778f9bf6e6b7730d5
Gerrit-Change-Number: 16566
Gerrit-PatchSet: 1
Gerrit-Owner: Qifan Chen <[email protected]>