merge -r 1330444:1330445 from trunk. FIXES: HADOOP-8296

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1330446 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Graves 2012-04-25 18:00:11 +00:00
parent 1968058617
commit 5ea6469304
2 changed files with 5 additions and 5 deletions

View File

@ -258,6 +258,8 @@ Release 2.0.0 - UNRELEASED
HADOOP-8314. HttpServer#hasAdminAccess should return false if
authorization is enabled but user is not authenticated. (tucu)
HADOOP-8296. hadoop/yarn daemonlog usage wrong (Devaraj K via tgraves)
BREAKDOWN OF HADOOP-7454 SUBTASKS
HADOOP-7455. HA: Introduce HA Service Protocol Interface. (suresh)

View File

@ -36,11 +36,9 @@ import org.apache.hadoop.util.ServletUtil;
*/
@InterfaceStability.Evolving
public class LogLevel {
public static final String USAGES = "\nUSAGES:\n"
+ "java " + LogLevel.class.getName()
+ " -getlevel <host:port> <name>\n"
+ "java " + LogLevel.class.getName()
+ " -setlevel <host:port> <name> <level>\n";
public static final String USAGES = "\nUsage: General options are:\n"
+ "\t[-getlevel <host:httpPort> <name>]\n"
+ "\t[-setlevel <host:httpPort> <name> <level>]\n";
/**
* A command line implementation