Aggarwal-Raghav opened a new pull request, #5884:
URL: https://github.com/apache/hive/pull/5884

   ### What changes were proposed in this pull request?
   Log the HS2 and HMS PID in their respective logs and give sample hms and hs2 
HADOOP_OPTS in hive-env.sh.template.
   
   ### Why are the changes needed?
   During debugging prod issue, I saw the need for this.
   1. If HMS/HS2 is crashing periodically then the heapdump will have the name 
in default format i.e. `java_pid14784.hprof`, it becomes difficult to identify 
whether it belongs to HMS or HS2 without loading it in any analyzer tool.
   2. To get the gc logs for a particular HS2 or HMS crash requires extraction 
of timestamp from logs using text manipulation commands etc.
   
   ### Does this PR introduce _any_ user-facing change?
   Yes, in HS2 and HMS logs PID will be logged
   
   ### How was this patch tested?
   On local setup


-- 
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: gitbox-unsubscr...@hive.apache.org

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