Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.9.0
-
None
-
None
-
Reviewed
Description
root@b9ab37566005:/# hadoop daemonlog
Usage: General options are:
[-getlevel <host:port> <classname> [-protocol (http|https)]
[-setlevel <host:port> <classname> <level> [-protocol (http|https)]
Exception in thread "main" org.apache.hadoop.HadoopIllegalArgumentException: No arguments specified
at org.apache.hadoop.log.LogLevel$CLI.parseArguments(LogLevel.java:138)
at org.apache.hadoop.log.LogLevel$CLI.run(LogLevel.java:106)
at org.apache.hadoop.log.LogLevel.main(LogLevel.java:70)
I think we can catch the exception in the main method, and dump a log error message instead of throw the stack which may frustrate users.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-12847 hadoop daemonlog should support https and SPNEGO for Kerberized cluster
- Resolved