bipinprasad opened a new pull request #3309:
URL: https://github.com/apache/storm/pull/3309


   ## What is the purpose of the change
   
   *This function can replace a system "ps" command with existence/ownership 
check on /proc/ directory. In additional, on loaded nodes, ps command can take 
a few seconds. java.io.File.exists() is expected to be much faster. Note that 
File watcher does not work on /proc file system and the event based approach 
was coded/tested and then discarded.*
   
   ## How was the change tested
   
   *new test methods in ServerUtilsTest. Also run storm, kill worker and 
observe log to ensure proper detection*


----------------------------------------------------------------
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.

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


Reply via email to