8000 HADOOP-19566. sendDeferedResponse should also log exception info. by hfutatzhanghb · Pull Request #7684 · apache/hadoop · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

HADOOP-19566. sendDeferedResponse should also log exception info. #7684

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1384,9 +1384,9 @@ private void sendDeferedResponse() {
// from a method. It does not expect to receive an error.
// This is equivalent to what happens in synchronous calls when the
// Responder is not able to send out the response.
LOG.error("Failed to send deferred response. ThreadName=" + Thread
.currentThread().getName() + ", CallId="
+ callId + ", hostname=" + getHostAddress());
LOG.error("Failed to send deferred response. ThreadName={}, CallId={}, Hostname={}," +
" Exception is {}", Thread.currentThread().getName(), callId,
getHostInetAddress(), e.toString());
}
getProcessingDetails().set(Timing.RESPONSE,
Time.monotonicNowNanos() - startNanos, TimeUnit.NANOSECONDS);
Expand All @@ -1403,9 +1403,8 @@ public void setDeferredResponse(Writable response) {
// returned from a method. It does not expect to receive an error.
// This is equivalent to what happens in synchronous calls when the
// response cannot be sent.
LOG.error(
"Failed to setup deferred successful response. ThreadName=" +
Thread.currentThread().getName() + ", Call=" + this);
LOG.error("Failed to setup deferred successful response. ThreadName={}, Call={}," +
" Exception is {}", Thread.currentThread().getName(), this, e.toString());
return;
}
sendDeferedResponse();
Expand Down
0