YARN-1497. Fix comment and remove accidental println

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1567491 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sanford Ryza 2014-02-12 01:46:27 +00:00
parent 4032e147e8
commit cf75df69f2
2 changed files with 1 additions and 6 deletions

View File

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

View File

@ -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());