You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JIRA: HADOOP-19270 Use stable sort in commandQueue
To remove possibility of wrong-ordered log simulation
How was this patch tested?
Tested using real production hadoop cluster(PB size cluster, create 256MB hdfs-audit.log per 10 minutes) hdfs-audit.log files.
Stable sort shows similar latency results while unstable sort(before patched) shows unstable latency results.
Total latency should be similar because all test simulate same amount of hdfs-audit logs
But unstable sort results show unstable total latency because when simulate logs faster(increasing rate), same timestamp log increases, results wrong order simulating in unstable sort.
Suspicious comparison of Long references in org.apache.hadoop.tools.dynamometer.workloadgenerator.audit.AuditReplayCommand.equals(Object) At AuditReplayCommand.java:in org.apache.hadoop.tools.dynamometer.workloadgenerator.audit.AuditReplayCommand.equals(Object) At AuditReplayCommand.java:[line 156]
Hey @geatrigger , this looks like a great improvement. The code LGTM. Can you please rebase onto latest master and let's make sure the build is still passing?
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
JIRA: HADOOP-19270 Use stable sort in commandQueue
How was this patch tested?
For code changes: Add sequence to commandQueue sorting criteria
LICENSE
,LICENSE-binary
,NOTICE-binary
files?