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

View File

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

View File

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