Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.20.1, 0.20.2
-
None
-
Reviewed
Description
Title: Some code level logical issues.
Description:
1. DFSClient:
Consider the below case, if we enable only info, then below log will never be logged.
if (ClientDatanodeProtocol.LOG.isDebugEnabled())
2.org.apache.hadoop.hdfs.server.namenode.FSNamesystem.registerMBean()
catch (NotCompliantMBeanException e)
{ e.printStackTrace(); }We can avoid using stackTace(). Better to add log message.
Attachments
Attachments
Issue Links
- relates to
-
HADOOP-12428 Fix inconsistency between log-level guards and statements
- Resolved