gaozhangmin opened a new pull request #14711:
URL: https://github.com/apache/pulsar/pull/14711


   ### Motivation
   1、Currently, If we set JAVA_HOME in env file, but `IS_JAVA_8 ` always use 
`java -version` to check java version.
   It will get wrong version if we set JAVA_HOME, thus, wrong gc parameters are 
set.
   
   2、pulsar not support BOOKIE_LOG_DIR variable. change to PULSAR_LOG_DIR
   
   ### Modifications
   Check if we have set JAVA_HOME or not. before check java version.
   
   
   
   
   ### Documentation
   
   Check the box below or label this PR directly (if you have committer 
privilege).
   
   Need to update docs? 
   
   - [ ] `doc-required` 
     
     (If you need help on updating docs, create a doc issue)
     
   - [ ] `no-need-doc` 
     
     (Please explain why)
     
   - [ ] `doc` 
     
     (If this PR contains doc changes)
   
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to