[
https://issues.apache.org/jira/browse/ATLAS-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15428468#comment-15428468
]
Madhan Neethiraj commented on ATLAS-1129:
-----------------------------------------
Comments:
bq. notificationRetryInterval =
atlasProperties.getInt(ATLAS_NOTIFICATION_RETRY_INTERVAL, 100);
Default value of 100ms seems too low. I would suggest to use default value of
at least 2 seconds.
bq. LOG.error("Notification send retry failed");
It will help to add a little more information in the log message, like:
LOG.error("Failed to send notification - attempt #" + numRetries + "; error=" +
e.getMessage());
bq. LOG.info("Sleeping for {} ms before retry", notificationRetryInterval);
Consider using 'debug' log level for this message
> Remove notification failed logs on retry and add sleep between retries
> ----------------------------------------------------------------------
>
> Key: ATLAS-1129
> URL: https://issues.apache.org/jira/browse/ATLAS-1129
> Project: Atlas
> Issue Type: Bug
> Affects Versions: 0.8-incubating
> Reporter: Vimal Sharma
> Assignee: Vimal Sharma
> Fix For: 0.8-incubating
>
> Attachments: ATLAS-1129-v2.patch, ATLAS-1129.patch
>
>
> Atlas notification interface logs the exception if it cannot send the message
> successfully. Further, the retries are attempted immediately.
> Remove the exception logs for individual retry and add sleep between retries
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)