simbadzina commented on code in PR #5536:
URL: https://github.com/apache/hadoop/pull/5536#discussion_r1162196442


##########
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java:
##########
@@ -851,8 +851,9 @@ protected synchronized int readWithStrategy(ReaderStrategy 
strategy)
                   locatedBlocks.getFileLength() - pos);
             }
           }
+          long beginRead = Time.monotonicNow();

Review Comment:
   Add time unit. `MS`



##########
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java:
##########
@@ -1184,6 +1185,7 @@ void actualGetFromOneDataNode(final DNAddrPair datanode, 
final long startInBlk,
         ByteBuffer tmp = buf.duplicate();
         tmp.limit(tmp.position() + len);
         tmp = tmp.slice();
+        long beginRead = Time.monotonicNow();

Review Comment:
   Add unit, `MS`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to