From 633f612d6773442a9fa64ca9843c2b0e676c309a Mon Sep 17 00:00:00 2001 From: Robert Kanter Date: Thu, 31 Mar 2016 13:09:09 -0700 Subject: [PATCH] YARN-4639. Remove dead code in TestDelegationTokenRenewer added in YARN-3055 (templedf via rkanter) (cherry picked from commit 7a021471c376ce846090fbd1a315266bada048d4) --- .../resourcemanager/security/TestDelegationTokenRenewer.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/security/TestDelegationTokenRenewer.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/security/TestDelegationTokenRenewer.java index d85e928b791..1bfac8d9ffa 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/security/TestDelegationTokenRenewer.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/security/TestDelegationTokenRenewer.java @@ -1090,9 +1090,6 @@ public class TestDelegationTokenRenewer { new MockNM("127.0.0.1:1234", 15120, rm.getResourceTrackerService()); nm1.registerNode(); - //MyFS fs = (MyFS)FileSystem.get(conf); - //MyToken token1 = fs.getDelegationToken("user123"); - // create Token1: Text userText1 = new Text("user"); DelegationTokenIdentifier dtId1 =