|
@@ -33,7 +33,7 @@
|
|
DFSClient dfs = new DFSClient(jspHelper.nameNodeAddr, jspHelper.conf);
|
|
DFSClient dfs = new DFSClient(jspHelper.nameNodeAddr, jspHelper.conf);
|
|
String target = dir;
|
|
String target = dir;
|
|
if (!dfs.exists(target)) {
|
|
if (!dfs.exists(target)) {
|
|
- out.print("<h3>File or directory : " + target + " does not exists</h3>");
|
|
|
|
|
|
+ out.print("<h3>File or directory : " + target + " does not exist</h3>");
|
|
JspHelper.printGotoForm(out, namenodeInfoPort, target);
|
|
JspHelper.printGotoForm(out, namenodeInfoPort, target);
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
@@ -75,7 +75,7 @@
|
|
//generate a table and dump the info
|
|
//generate a table and dump the info
|
|
String [] headings = new String[6];
|
|
String [] headings = new String[6];
|
|
headings[0] = "Name"; headings[1] = "Type"; headings[2] = "Size";
|
|
headings[0] = "Name"; headings[1] = "Type"; headings[2] = "Size";
|
|
- headings[3] = "Replication"; headings[4] = "BlockSize";
|
|
|
|
|
|
+ headings[3] = "Replication"; headings[4] = "Block Size";
|
|
headings[5] = "Modification Time";
|
|
headings[5] = "Modification Time";
|
|
out.print("<h3>Contents of directory ");
|
|
out.print("<h3>Contents of directory ");
|
|
JspHelper.printPathWithLinks(dir, out, namenodeInfoPort);
|
|
JspHelper.printPathWithLinks(dir, out, namenodeInfoPort);
|
|
@@ -171,6 +171,6 @@ body
|
|
<a href="/logs/">Log</a> directory
|
|
<a href="/logs/">Log</a> directory
|
|
|
|
|
|
<hr>
|
|
<hr>
|
|
-<a href="http://lucene.apache.org/hadoop">Hadoop</a>, 2006.<br>
|
|
|
|
|
|
+<a href="http://lucene.apache.org/hadoop">Hadoop</a>, 2007.<br>
|
|
</body>
|
|
</body>
|
|
</html>
|
|
</html>
|