MAPREDUCE-6896. Document wrong spelling in usage of MapredTestDriver tools.

(Contributed by LiXin Ge via Daniel Templeton)
This commit is contained in:
Daniel Templeton 2017-06-13 13:21:23 -07:00
parent 8633ef8e10
commit 036a24bab3
3 changed files with 6 additions and 6 deletions

View File

@ -94,7 +94,7 @@ public MapredTestDriver(ProgramDriver pgd) {
pgd.addClass("gsleep", GrowingSleepJob.class,
"A sleep job whose mappers create 1MB buffer for every record.");
pgd.addClass("timelineperformance", TimelineServicePerformance.class,
"A job that launches mappers to test timline service " +
"A job that launches mappers to test timeline service " +
"performance.");
pgd.addClass("nnbench", NNBench.class,
"A benchmark that stresses the namenode w/ MR.");

View File

@ -350,7 +350,7 @@ private void addTimelineDelegationToken(
}
credentials.addToken(timelineService, timelineDelegationToken);
if (LOG.isDebugEnabled()) {
LOG.debug("Add timline delegation token into credentials: "
LOG.debug("Add timeline delegation token into credentials: "
+ timelineDelegationToken);
}
DataOutputBuffer dob = new DataOutputBuffer();

View File

@ -242,8 +242,8 @@ public void testDelegationTokenOperationsRetry() throws Exception {
TimelineClientImpl client = createTimelineClient(conf);
TimelineClientImpl clientFake =
createTimelineClientFakeTimelineClientRetryOp(conf);
TestTimlineDelegationTokenSecretManager dtManager =
new TestTimlineDelegationTokenSecretManager();
TestTimelineDelegationTokenSecretManager dtManager =
new TestTimelineDelegationTokenSecretManager();
try {
dtManager.startThreads();
Thread.sleep(3000);
@ -492,10 +492,10 @@ public void testTimelineClientCleanup() throws Exception {
Assert.assertFalse("Reloader is still alive", reloaderStillAlive);
}
private static class TestTimlineDelegationTokenSecretManager extends
private static class TestTimelineDelegationTokenSecretManager extends
AbstractDelegationTokenSecretManager<TimelineDelegationTokenIdentifier> {
public TestTimlineDelegationTokenSecretManager() {
public TestTimelineDelegationTokenSecretManager() {
super(100000, 100000, 100000, 100000);
}