diff --git a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSExceptionProvider.java b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSExceptionProvider.java index b999a725570..60abe96384a 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSExceptionProvider.java +++ b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSExceptionProvider.java @@ -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); } } diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index f3e9d8a9657..43913d86aed 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -388,6 +388,8 @@ Branch-2 ( Unreleased changes ) 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)