hadoop-hdfs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdoug...@apache.org
Subject svn commit: r809028 - /hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/server/namenode/ListPathsServlet.java
Date Fri, 28 Aug 2009 21:03:59 GMT
Author: cdouglas
Date: Fri Aug 28 21:03:58 2009
New Revision: 809028

URL: http://svn.apache.org/viewvc?rev=809028&view=rev
Log:
HDFS-525. Missed a change to the exception handling

Modified:
    hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/server/namenode/ListPathsServlet.java

Modified: hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/server/namenode/ListPathsServlet.java
URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/server/namenode/ListPathsServlet.java?rev=809028&r1=809027&r2=809028&view=diff
==============================================================================
--- hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/server/namenode/ListPathsServlet.java
(original)
+++ hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/server/namenode/ListPathsServlet.java
Fri Aug 28 21:03:58 2009
@@ -165,11 +165,10 @@
         }
         catch(RemoteException re) {re.writeXml(p, doc);}
       }
-    } finally {
       if (doc != null) {
         doc.endDocument();
       }
-
+    } finally {
       if (out != null) {
         out.close();
       }



Mime
View raw message