Merge -r 1356329:1356330 from trunk to branch. FIXES: HDFS-3575

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1356332 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Alejandro Abdelnur 2012-07-02 16:42:28 +00:00
parent 2de013e0a8
commit 1142e13bd4
2 changed files with 3 additions and 1 deletions

View File

@ -91,7 +91,7 @@ public class HttpFSExceptionProvider extends ExceptionProvider {
String path = MDC.get("path");
String message = getOneLineMessage(throwable);
AUDIT_LOG.warn("FAILED [{}:{}] response [{}] {}", new Object[]{method, path, status, message});
LOG.warn("[{}:{}] response [{}] {}", new Object[]{method, path, status, message, throwable});
LOG.warn("[{}:{}] response [{}] {}", new Object[]{method, path, status, message}, throwable);
}
}

View File

@ -245,6 +245,8 @@ Release 2.0.1-alpha - UNRELEASED
block in a namenode and the reported block from a datanode do not match.
(Ashish Singhi via szetszwo)
HDFS-3575. HttpFS does not log Exception Stacktraces (brocknoland via tucu)
BREAKDOWN OF HDFS-3042 SUBTASKS
HDFS-2185. HDFS portion of ZK-based FailoverController (todd)