goiri commented on a change in pull request #1898: Report read-ahead error back
URL: https://github.com/apache/hadoop/pull/1898#discussion_r393790939
##########
File path:
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsInputStream.java
##########
@@ -234,6 +242,7 @@ int readRemote(long position, byte[] b, int offset, int
length) throws IOExcepti
final AbfsRestOperation op;
AbfsPerfTracker tracker = client.getAbfsPerfTracker();
try (AbfsPerfInfo perfInfo = new AbfsPerfInfo(tracker, "readRemote",
"read")) {
+ LOG.trace(String.format("Trigger client.read for path=%s position=%s
offset=%s length=%s", path, position, offset, length));
Review comment:
Can you use logger format?
LOG.trace("Trigger client.read for path={} position={} offset={} length={}",
path, position, offset, length);
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]