storm-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [storm] bipinprasad opened a new pull request #3309: [STORM-3675] Check worker process death using /proc/<pid> directory
Date Thu, 16 Jul 2020 06:17:31 GMT

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:
users@infra.apache.org



Mime
View raw message