Selaa lähdekoodia

YARN-1497. Fix comment and remove accidental println

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1566537 13f79535-47bb-0310-9956-ffa450edef68
Sanford Ryza 11 vuotta sitten
vanhempi
commit
1c151c31fa

+ 1 - 5
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/cli/ApplicationCLI.java

@@ -382,11 +382,7 @@ public class ApplicationCLI extends YarnCLI {
   }
   }
   
   
   /**
   /**
-   * Kills the application with the application id as appId
-   * 
-   * @param applicationId
-   * @throws YarnException
-   * @throws IOException
+   * Moves the application with the given ID to the given queue.
    */
    */
   private void moveApplicationAcrossQueues(String applicationId, String queue)
   private void moveApplicationAcrossQueues(String applicationId, String queue)
       throws YarnException, IOException {
       throws YarnException, IOException {

+ 0 - 1
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestYarnCLI.java

@@ -675,7 +675,6 @@ public class TestYarnCLI {
     int result = spyCli.run(new String[] { "-help" });
     int result = spyCli.run(new String[] { "-help" });
     Assert.assertTrue(result == 0);
     Assert.assertTrue(result == 0);
     verify(spyCli).printUsage(any(Options.class));
     verify(spyCli).printUsage(any(Options.class));
-    System.err.println(sysOutStream.toString()); //todo sandyt remove this hejfkdsl
     Assert.assertEquals(createApplicationCLIHelpMessage(),
     Assert.assertEquals(createApplicationCLIHelpMessage(),
         sysOutStream.toString());
         sysOutStream.toString());