Browse Source

HADOOP-1546. Remove a spurious column from HDFS web UI. Contributed by Dhruba.

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@552947 13f79535-47bb-0310-9956-ffa450edef68
Doug Cutting 18 years ago
parent
commit
5c8bc79ef6
2 changed files with 6 additions and 2 deletions
  1. 4 0
      CHANGES.txt
  2. 2 2
      src/webapps/datanode/browseDirectory.jsp

+ 4 - 0
CHANGES.txt

@@ -274,6 +274,10 @@ Trunk (unreleased changes)
  84. HADOOP-1513.  Fix a race condition in directory creation. 
      (Devaraj via omalley)
 
+ 85. HADOOP-1546.  Remove spurious column from HDFS web UI.
+     (Dhruba Borthakur via cutting)
+
+
 Release 0.13.0 - 2007-06-08
 
  1. HADOOP-1047.  Fix TestReplication to succeed more reliably.

+ 2 - 2
src/webapps/datanode/browseDirectory.jsp

@@ -69,10 +69,10 @@
       // directory
       DFSFileInfo[] files = dfs.listPaths(target);
       //generate a table and dump the info
-      String [] headings = new String[7];
+      String [] headings = new String[6];
       headings[0] = "Name"; headings[1] = "Type"; headings[2] = "Size";
       headings[3] = "Replication"; headings[4] = "BlockSize";
-      headings[5] = "Creation Time"; headings[6] = "Modification Time";
+      headings[5] = "Modification Time";
       out.print("<h3>Contents of directory ");
       JspHelper.printPathWithLinks(dir, out, namenodeInfoPort);
       out.print("</h3><hr>");