[ https://issues.apache.org/jira/browse/TEZ-3504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15690916#comment-15690916 ]
Hitesh Shah commented on TEZ-3504: ---------------------------------- Why is there code duplication in timeline.js and ahs-app.js ? And likewise replication of all tests? Also why does the screenshot show invalid data for the 29th Feb row where start time is same as end time? > Tez UI: Duration is displaying invalid values when start or end time is > invalid > ------------------------------------------------------------------------------- > > Key: TEZ-3504 > URL: https://issues.apache.org/jira/browse/TEZ-3504 > Project: Apache Tez > Issue Type: Bug > Reporter: Sreenath Somarajapuram > Assignee: Sreenath Somarajapuram > Attachments: DurationValues.png, TEZ-3504.1.patch, TEZ-3504.2.patch, > TEZ-3504.3.patch > > > The UI code must validate start - end times and calculate the duration only > if their values are valid. If not valid a 'Not Available!' could be displayed. > Following validations must be done: > # Start time must be a number greater than 0 > # End time must be a number greater than 0 > # End time must be greater than or equal to start time -- This message was sent by Atlassian JIRA (v6.3.4#6332)