hadoop-hdfs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject svn commit: r1356330 - in /hadoop/common/trunk/hadoop-hdfs-project: hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSExceptionProvider.java hadoop-hdfs/CHANGES.txt
Date Mon, 02 Jul 2012 16:41:33 GMT
Author: tucu
Date: Mon Jul  2 16:41:33 2012
New Revision: 1356330

URL: http://svn.apache.org/viewvc?rev=1356330&view=rev
Log:
HDFS-3575. HttpFS does not log Exception Stacktraces (brocknoland via tucu)

Modified:
    hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSExceptionProvider.java
    hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

Modified: hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSExceptionProvider.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSExceptionProvider.java?rev=1356330&r1=1356329&r2=1356330&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSExceptionProvider.java
(original)
+++ hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSExceptionProvider.java
Mon Jul  2 16:41:33 2012
@@ -91,7 +91,7 @@ public class HttpFSExceptionProvider ext
     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);
   }
 
 }

Modified: hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt?rev=1356330&r1=1356329&r2=1356330&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt (original)
+++ hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt Mon Jul  2 16:41:33 2012
@@ -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)



Mime
View raw message