dlmarion commented on PR #52:
URL: 
https://github.com/apache/accumulo-classloaders/pull/52#issuecomment-3779399236

   I opted to implement a pause time vs two operations to stop and start in 
case there is an issue with making the second call to restart classloader 
creation. This feature can be used as part of the following cleanup algorithm:
   
     1. Get list of Accumulo processes on host, save off the list. 
     2. Connect via JMX to each process, set pause time.
     3. Validate Accumulo processes same as original, validate that pause time 
has not elapsed.
     4. Get list of files in `resources` directory.
     5. Connect via JMX to each process, get list of referenced files.
     6. Validate Accumulo processes same as original, validate that pause time 
has not elapsed and that some sufficient amount of time remains.
     7. Remove files from `resources` directory that are not in list of 
referenced files.


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