liever18 opened a new pull request #3541:
URL: https://github.com/apache/hbase/pull/3541


   [https://issues.apache.org/jira/projects/HBASE/issues/HBASE-26114]
   Description of PR
   fix bug HBASE-26114
   
   When the value is set to a negative number, such as -1, Hmaster cannot start 
normally. When MOB_COMPACTION_THREADS_MAX is set to 0, mobUtil will set it to 
1. But the program does not take into account that it is set to a negative 
number.
   
   changge
   modified
   if (maxThreads == 0) {
   to
   if (maxThreads <= 0) {
   to improve the handling mechanism for the user to set 
hbase.mob.compaction.threads.max as an abnormal value.
   
   


-- 
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: issues-unsubscr...@hbase.apache.org

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


Reply via email to