Skip to content

Commit 08a6e92

Browse files
author
ericvandenbergfb
authored
Merge pull request #2 from ericvandenbergfb/cleanup.untracked.history.files
Fix scalastyle issue.
2 parents 3431d5a + 5ec9df9 commit 08a6e92

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

core/src/test/scala/org/apache/spark/deploy/history/FsHistoryProviderSuite.scala

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -660,10 +660,10 @@ class FsHistoryProviderSuite extends SparkFunSuite with BeforeAndAfter with Matc
660660
}
661661

662662
/**
663-
* Validate aggressive clean up removes incomplete or corrupt history files that would
664-
* otherwise be missed during clean up. Also validate no behavior change if aggressive
665-
* clean up is disabled.
666-
*/
663+
* Validate aggressive clean up removes incomplete or corrupt history files that would
664+
* otherwise be missed during clean up. Also validate no behavior change if aggressive
665+
* clean up is disabled.
666+
*/
667667
test("SPARK-21571: aggressive clean up removes incomplete history files") {
668668
createCleanAndCheckIncompleteLogFiles(14, 21, true, true, true, true, true)
669669
createCleanAndCheckIncompleteLogFiles(14, 21, false, false, false, true, false)
@@ -672,17 +672,17 @@ class FsHistoryProviderSuite extends SparkFunSuite with BeforeAndAfter with Matc
672672
}
673673

674674
/**
675-
* Create four test incomplete/corrupt history files and invoke a check and clean cycle that
676-
* passes followed by one occurring after the max age days rentention window and assert the
677-
* expected number of history files remain.
678-
* @param maxAgeDays maximum retention in days, used to simulate current time
679-
* @param lastModifiedDaysAgo last modified date for test files relative to current time
680-
* @param aggressiveCleanup aggressive clean up is enabled or not
681-
* @param expectEmptyInprogressRemoved expect an empty inprogress file to be removed
682-
* @param expectEmptyCorruptRemoved expect an empty corrupt complete file to be removed
683-
* @param expectNonEmptyInprogressRemoved expect a non-empty inprogress file to be removed
684-
* @param expectNonEmptyCorruptRemoved expect a non-empty corrupt complete file to be removed
685-
*/
675+
* Create four test incomplete/corrupt history files and invoke a check and clean cycle that
676+
* passes followed by one occurring after the max age days rentention window and assert the
677+
* expected number of history files remain.
678+
* @param maxAgeDays maximum retention in days, used to simulate current time
679+
* @param lastModifiedDaysAgo last modified date for test files relative to current time
680+
* @param aggressiveCleanup aggressive clean up is enabled or not
681+
* @param expectEmptyInprogressRemoved expect an empty inprogress file to be removed
682+
* @param expectEmptyCorruptRemoved expect an empty corrupt complete file to be removed
683+
* @param expectNonEmptyInprogressRemoved expect a non-empty inprogress file to be removed
684+
* @param expectNonEmptyCorruptRemoved expect a non-empty corrupt complete file to be removed
685+
*/
686686
private def createCleanAndCheckIncompleteLogFiles(
687687
maxAgeDays: Long,
688688
lastModifiedDaysAgo: Long,

0 commit comments

Comments
 (0)