----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75092/#review226691 -----------------------------------------------------------
tools/notification-analyzer/src/main/java/org/apache/atlas/tools/NotificationAnalyzer.java Lines 43 (patched) <https://reviews.apache.org/r/75092/#comment314956> Use only required import instead of java.time.* tools/notification-analyzer/src/main/java/org/apache/atlas/tools/NotificationAnalyzer.java Lines 191 (patched) <https://reviews.apache.org/r/75092/#comment314957> Make the key as "notificationStartTime", "notificationEndTime", "notificationDuration" - Jayendra Parab On July 17, 2024, 10:19 a.m., Prashant Satam wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/75092/ > ----------------------------------------------------------- > > (Updated July 17, 2024, 10:19 a.m.) > > > Review request for atlas, chaitali, Jayendra Parab, Madhan Neethiraj, and > Pinal Shah. > > > Bugs: ATLAS-4886 > https://issues.apache.org/jira/browse/ATLAS-4886 > > > Repository: atlas > > > Description > ------- > > Need to add time related fields to the response of utility like > startTime,endTime,duration > > startTime = It is message creation time of the first message received from > the hook > > endTime = It is message creation time of the last message received from the > hook > > duration = It is the difference between the startTime and endTime > > > Diffs > ----- > > > tools/notification-analyzer/src/main/java/org/apache/atlas/tools/NotificationAnalyzer.java > 20b106546 > > > Diff: https://reviews.apache.org/r/75092/diff/1/ > > > Testing > ------- > > response : > > {"messages":1321,"notifications":1073,"notificationLengthAvg":33105,"notificationLengthMax":514910,"splitNotifications":1,"splitNotificationLengthAvg":514910,"splitNotificationLengthMax":514910,"entities":496,"notificationEntities":1073,"notificationByType":{"ENTITY_CREATE_V2":1073},"notificationEntityByType":{"hdfs_path":12,"spark_application":475,"rdbms_table":111,"spark_process":475},"entityOperations":{"CREATE":496,"UPDATE":577},"entityOperationsByType":{"CREATE":{"hdfs_path":2,"rdbms_table":3,"spark_application":16,"spark_process":475},"UPDATE":{"hdfs_path":10,"rdbms_table":108,"spark_application":459}},"startTime":"2024-06-28 > 19:01:13","endTime":"2024-06-28 19:02:33","duration":"DAYS: 0, HOURS: 0, > MINUTES: 1, SECONDS: 20"} > > > Thanks, > > Prashant Satam > >