jmark99 commented on issue #3512:
URL: https://github.com/apache/accumulo/issues/3512#issuecomment-1613238764

   @keith-turner asked to see if others could replicate his error by running 
the code in the previous comment. I was able to do so. Afterward, he asked for 
checks to be put in the code when the session cleanup method was called. I 
added checks in three locations within the `SessionManager` and re-ran the 
test. Doing so indicated that the `session.close()` method returned false when 
called within `removeSession` around line 212.
   
   The modified code was as follows:
   
   ```
         if (doCleanup) {
           boolean cleanup = session.cleanup();
           if (!cleanup) {
             log.info(">>>> session.cleanup() false around line 212");
           }
         }
   ```
   
   The following line appears in tserver.log:
   
   `2023-06-29T09:35:30,313 [session.SessionManager] INFO : >>>> 
session.cleanup() false around line 212`
   
   I allowed the jshell session to run about 11 minutes before force quitting. 
The output was similar to the lines below:
   
   ```
   Thu Jun 29 09:35:29 EDT 2023 added split 00014000                            
                                                                                
              
   Thu Jun 29 09:35:14 EDT 2023 500000                                          
                                                                                
              
   Thu Jun 29 09:35:14 EDT 2023 500000                                          
                                                                                
              
   2023-06-29T09:37:31,344 [admin.TableOperations] WARN : Having difficulty 
locating hosting tabletserver for split 00015000 on table foo. Seen 5 failures. 
                  
   2023-06-29T09:37:38,735 [admin.TableOperations] WARN : Having difficulty 
locating hosting tabletserver for split 00015000 on table foo. Seen 50 
failures.                  
   2023-06-29T09:37:45,736 [admin.TableOperations] WARN : Having difficulty 
locating hosting tabletserver for split 00015000 on table foo. Seen 100 
failures.                 
   2023-06-29T09:37:52,872 [admin.TableOperations] WARN : Having difficulty 
locating hosting tabletserver for split 00015000 on table foo. Seen 150 
failures.  
   ...
   2023-06-29T09:45:58,101 [admin.TableOperations] WARN : Having difficulty 
locating hosting tabletserver for split 00015000 on table foo. Seen 3650 
failures.
   2023-06-29T09:46:05,042 [admin.TableOperations] WARN : Having difficulty 
locating hosting tabletserver for split 00015000 on table foo. Seen 3700 
failures.
   2023-06-29T09:46:12,024 [admin.TableOperations] WARN : Having difficulty 
locating hosting tabletserver for split 00015000 on table foo. Seen 3750 
failures.
   
   ```


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