diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/test/MapredTestDriver.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/test/MapredTestDriver.java index a2a13d5ba91..b8d006a12d2 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/test/MapredTestDriver.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/test/MapredTestDriver.java @@ -94,7 +94,7 @@ public class MapredTestDriver { 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."); diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/impl/YarnClientImpl.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/impl/YarnClientImpl.java index 83210bd28a5..19cb10b1d11 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/impl/YarnClientImpl.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/impl/YarnClientImpl.java @@ -350,7 +350,7 @@ public class YarnClientImpl extends YarnClient { } 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(); diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestTimelineClient.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestTimelineClient.java index 503ef82e16e..e3fffef6143 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestTimelineClient.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestTimelineClient.java @@ -242,8 +242,8 @@ public class TestTimelineClient { 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 class TestTimelineClient { Assert.assertFalse("Reloader is still alive", reloaderStillAlive); } - private static class TestTimlineDelegationTokenSecretManager extends + private static class TestTimelineDelegationTokenSecretManager extends AbstractDelegationTokenSecretManager { - public TestTimlineDelegationTokenSecretManager() { + public TestTimelineDelegationTokenSecretManager() { super(100000, 100000, 100000, 100000); }