-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qualification tool: add filtering by app start time #2940
Conversation
Signed-off-by: Thomas Graves <tgraves@apache.org>
Signed-off-by: Thomas Graves <tgraves@nvidia.com>
build |
} | ||
} | ||
filtered.map(_.eventlog).toSeq | ||
} else if (appArgs.startAppTime.isSupplied) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we support both the cases? i.e If applciationName is given along with time range in the commandline.
--application-name "appName" --start-app-time "1w"
If AND is not supported, then we can document that. I will follow the same in my follow on PR's for limit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah that is a good point we talked about this, it is officially a P1 so perhaps lets do taht as a follow on once we have all the filtering features in and make sure we have tests that will cover all the cases.
Resolved story:
As a user, I want to select log files for applications whose application start event occurred within a specific time range so that I can select only jobs I've run, e.g., in the last week, month, or quarter
Note I also fixed a few bugs in here with the while loop going over lines. one with counting events and a second when exception thrown dealing with incrementing i.