You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2022/10/07 13:43:50 UTC

[GitHub] [accumulo] keith-turner opened a new issue, #3007: log message about retrying is not useful

keith-turner opened a new issue, #3007:
URL: https://github.com/apache/accumulo/issues/3007

   This [log statement](https://github.com/apache/accumulo/blob/d2fd3d71d0ca63d99cdd52416fb567e4c8a0a2e2/core/src/main/java/org/apache/accumulo/fate/util/Retry.java#L185) is not vert useful.  Below is some output from running  PropStoreConfigIT to show what it looks like.  Seeing this log message in the manager log is almost useless because whoever is looking at has no idea what it goes with with all of the concurrent operations happening. Should modify the method signature to `waitForNextAttempt(Logger log, String operationDesc)` so that a more meaningful message can be printed.
   
   ```
   2022-10-07T14:32:21,149 [admin.TableOperations] DEBUG: Modifying properties for table PropStoreConfigIT_concurrentTablePropsModificationTest0 completed after 3 retries and is no longer retrying.
   2022-10-07T14:32:21,150 [admin.TableOperations] DEBUG: Unable to modify table properties for PropStoreConfigIT_concurrentTablePropsModificationTest0 because of concurrent modification, retrying attempt 1 (suppressing retry messages for 180000ms)
   2022-10-07T14:32:21,150 [util.Retry] DEBUG: Sleeping for 25ms before retrying operation
   2022-10-07T14:32:21,162 [util.Retry] DEBUG: Sleeping for 84ms before retrying operation
   2022-10-07T14:32:21,186 [util.Retry] DEBUG: Sleeping for 64ms before retrying operation
   2022-10-07T14:32:21,246 [util.Retry] DEBUG: Sleeping for 151ms before retrying operation
   2022-10-07T14:32:21,252 [util.Retry] DEBUG: Sleeping for 111ms before retrying operation
   2022-10-07T14:32:21,256 [util.Retry] DEBUG: Sleeping for 80ms before retrying operation
   2022-10-07T14:32:21,350 [admin.TableOperations] DEBUG: Modifying properties for table PropStoreConfigIT_concurrentTablePropsModificationTest0 completed after 4 retries and is no longer retrying.
   2022-10-07T14:32:21,353 [admin.TableOperations] DEBUG: Unable to modify table properties for PropStoreConfigIT_concurrentTablePropsModificationTest0 because of concurrent modification, retrying attempt 1 (suppressing retry messages for 180000ms)
   ```


-- 
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: notifications-unsubscribe@accumulo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [accumulo] ctubbsii closed issue #3007: log message about retrying is not useful

Posted by GitBox <gi...@apache.org>.
ctubbsii closed issue #3007: log message about retrying is not useful
URL: https://github.com/apache/accumulo/issues/3007


-- 
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: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org