Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
We moved the shortcircuit package from hadoop-hdfs to hadoop-hdfs-client module in JIRA HDFS-8934 and HDFS-8951, and BlockReader in HDFS-8925. Meanwhile, we also replaced the log4j log with slf4j logger. There were existing code in the client package to guard the log when calling LOG.debug() and LOG.trace(), e.g. in ShortCircuitCache.java, we have code like this:
724 if (LOG.isTraceEnabled()) { 725 LOG.trace(this + ": found waitable for " + key); 726 }
In slf4j, this kind of guard is not necessary. We should clean the code by removing the guard from the client package.
724 LOG.trace("{}: found waitable for {}", this, key);
Attachments
Attachments
Issue Links
- is blocked by
-
HDFS-8053 Move DFSIn/OutputStream and related classes to hadoop-hdfs-client
- Resolved
-
HDFS-8740 Move DistributedFileSystem to hadoop-hdfs-client
- Resolved
-
HDFS-8925 Move BlockReaderLocal to hdfs-client
- Resolved
-
HDFS-9002 Move o.a.h.hdfs.net/*Peer classes to hdfs-client
- Resolved
-
HDFS-9099 Move DistributedFileSystem to hadoop-hdfs-client
- Resolved
- is related to
-
HDFS-9383 TestByteArrayManager#testByteArrayManager fails
- Closed
- links to