Browse Source

HDFS-8350. Remove old webhdfs.xml and other outdated documentation stuff. Contributed by Brahma Reddy Battula.

Akira Ajisaka 10 năm trước cách đây
mục cha
commit
7fb3486eb3
22 tập tin đã thay đổi với 3 bổ sung3266 xóa
  1. 3 0
      hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
  2. 0 170
      hadoop-hdfs-project/hadoop-hdfs/src/main/docs/changes/ChangesFancyStyle.css
  3. 0 49
      hadoop-hdfs-project/hadoop-hdfs/src/main/docs/changes/ChangesSimpleStyle.css
  4. 0 282
      hadoop-hdfs-project/hadoop-hdfs/src/main/docs/changes/changes2html.pl
  5. 0 1
      hadoop-hdfs-project/hadoop-hdfs/src/main/docs/releasenotes.html
  6. 0 7
      hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/README.txt
  7. 0 40
      hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/classes/CatalogManager.properties
  8. 0 327
      hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/conf/cli.xconf
  9. 0 46
      hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/content/xdocs/index.xml
  10. 0 289
      hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/content/xdocs/site.xml
  11. 0 37
      hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/content/xdocs/tabs.xml
  12. 0 1577
      hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/content/xdocs/webhdfs.xml
  13. BIN
      hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/resources/images/FI-framework.gif
  14. BIN
      hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/resources/images/FI-framework.odg
  15. BIN
      hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/resources/images/architecture.gif
  16. BIN
      hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/resources/images/core-logo.gif
  17. BIN
      hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/resources/images/favicon.ico
  18. BIN
      hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/resources/images/hadoop-logo-big.jpg
  19. BIN
      hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/resources/images/hadoop-logo.jpg
  20. BIN
      hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/resources/images/request-identify.jpg
  21. 0 366
      hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/skinconf.xml
  22. 0 75
      hadoop-hdfs-project/hadoop-hdfs/src/main/docs/status.xml

+ 3 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -216,6 +216,9 @@ Release 2.8.0 - UNRELEASED
     HDFS-6184. Capture NN's thread dump when it fails over.
     (Ming Ma via aajisaka)
 
+    HDFS-8350. Remove old webhdfs.xml and other outdated documentation stuff.
+    (Brahma Reddy Battula via aajisaka)
+
   OPTIMIZATIONS
 
     HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than

+ 0 - 170
hadoop-hdfs-project/hadoop-hdfs/src/main/docs/changes/ChangesFancyStyle.css

@@ -1,170 +0,0 @@
-/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements.  See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You under the Apache License, Version 2.0
-* (the "License"); you may not use this file except in compliance with
-* the License.  You may obtain a copy of the License at
-*
-*     http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-/**
- * General
- */
-
-img { border: 0; }
-
-#content table {
-  border: 0;
-  width: 100%;
-}
-/*Hack to get IE to render the table at 100%*/
-* html #content table { margin-left: -3px; }
-
-#content th,
-#content td {
-  margin: 0;
-  padding: 0;
-  vertical-align: top;
-}
-
-.clearboth {
-  clear: both;
-}
-
-.note, .warning, .fixme {
-  border: solid black 1px;
-  margin: 1em 3em;
-}
-
-.note .label {
-  background: #369;
-  color: white;
-  font-weight: bold;
-  padding: 5px 10px;
-}
-.note .content {
-  background: #F0F0FF;
-  color: black;
-  line-height: 120%;
-  font-size: 90%;
-  padding: 5px 10px;
-}
-.warning .label {
-  background: #C00;
-  color: white;
-  font-weight: bold;
-  padding: 5px 10px;
-}
-.warning .content {
-  background: #FFF0F0;
-  color: black;
-  line-height: 120%;
-  font-size: 90%;
-  padding: 5px 10px;
-}
-.fixme .label {
-  background: #C6C600;
-  color: black;
-  font-weight: bold;
-  padding: 5px 10px;
-}
-.fixme .content {
-  padding: 5px 10px;
-}
-
-/**
- * Typography
- */
-
-body {
-  font-family: verdana, "Trebuchet MS", arial, helvetica, sans-serif;
-  font-size: 100%;
-}
-
-#content {
-  font-family: Georgia, Palatino, Times, serif;
-  font-size: 95%;
-}
-#tabs {
-  font-size: 70%;
-}
-#menu {
-  font-size: 80%;
-}
-#footer {
-  font-size: 70%;
-}
-
-h1, h2, h3, h4, h5, h6 {
-  font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif;
-  font-weight: bold;
-  margin-top: 1em;
-  margin-bottom: .5em;
-}
-
-h1 {
-    margin-top: 0;
-    margin-bottom: 1em;
-  font-size: 1.4em;
-  background-color: 73CAFF
-}
-#content h1 {
-  font-size: 160%;
-  margin-bottom: .5em;
-}
-#menu h1 {
-  margin: 0;
-  padding: 10px;
-  background: #336699;
-  color: white;
-}
-h2 { 
-  font-size: 120%;
-  background-color: 73CAFF
-}
-h3 { font-size: 100%; }
-h4 { font-size: 90%; }
-h5 { font-size: 80%; }
-h6 { font-size: 75%; }
-
-p {
-  line-height: 120%;
-  text-align: left;
-  margin-top: .5em;
-  margin-bottom: 1em;
-}
-
-#content li,
-#content th,
-#content td,
-#content li ul,
-#content li ol{
-  margin-top: .5em;
-  margin-bottom: .5em;
-}
-
-
-#content li li,
-#minitoc-area li{
-  margin-top: 0em;
-  margin-bottom: 0em;
-}
-
-#content .attribution {
-  text-align: right;
-  font-style: italic;
-  font-size: 85%;
-  margin-top: 1em;
-}
-
-.codefrag {
-  font-family: "Courier New", Courier, monospace;
-  font-size: 110%;
-}

+ 0 - 49
hadoop-hdfs-project/hadoop-hdfs/src/main/docs/changes/ChangesSimpleStyle.css

@@ -1,49 +0,0 @@
-/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements.  See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You under the Apache License, Version 2.0
-* (the "License"); you may not use this file except in compliance with
-* the License.  You may obtain a copy of the License at
-*
-*     http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-body {
-  font-family: Courier New, monospace;
-  font-size: 10pt;
-}
-
-h1 {
-  font-family: Courier New, monospace;
-  font-size: 10pt;
-}
-
-h2 {
-  font-family: Courier New, monospace;
-  font-size: 10pt; 
-}
-
-h3 {
-  font-family: Courier New, monospace;
-  font-size: 10pt; 
-}
-
-a:link {
-  color: blue;
-}
-
-a:visited {
-  color: purple; 
-}
-
-li {
-  margin-top: 1em;
-  margin-bottom: 1em;
-}

+ 0 - 282
hadoop-hdfs-project/hadoop-hdfs/src/main/docs/changes/changes2html.pl

@@ -1,282 +0,0 @@
-#!/usr/bin/perl
-#
-# Transforms Lucene Java's CHANGES.txt into Changes.html
-#
-# Input is on STDIN, output is to STDOUT
-#
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-use strict;
-use warnings;
-
-my $jira_url_prefix = 'http://issues.apache.org/jira/browse/';
-my $title = undef;
-my $release = undef;
-my $sections = undef;
-my $items = undef;
-my $first_relid = undef;
-my $second_relid = undef;
-my @releases = ();
-
-my @lines = <>;                        # Get all input at once
-
-#
-# Parse input and build hierarchical release structure in @releases
-#
-for (my $line_num = 0 ; $line_num <= $#lines ; ++$line_num) {
-  $_ = $lines[$line_num];
-  next unless (/\S/);                  # Skip blank lines
-
-  unless ($title) {
-    if (/\S/) {
-      s/^\s+//;                        # Trim leading whitespace
-      s/\s+$//;                        # Trim trailing whitespace
-    }
-    $title = $_;
-    next;
-  }
-
-  if (/^(Release)|(Trunk)/) {   # Release headings
-    $release = $_;
-    $sections = [];
-    push @releases, [ $release, $sections ];
-    ($first_relid = lc($release)) =~ s/\s+/_/g   if ($#releases == 0);
-    ($second_relid = lc($release)) =~ s/\s+/_/g  if ($#releases == 1);
-    $items = undef;
-    next;
-  }
-
-  # Section heading: 2 leading spaces, words all capitalized
-  if (/^  ([A-Z]+)\s*/) {
-    my $heading = $_;
-    $items = [];
-    push @$sections, [ $heading, $items ];
-    next;
-  }
-
-  # Handle earlier releases without sections - create a headless section
-  unless ($items) {
-    $items = [];
-    push @$sections, [ undef, $items ];
-  }
-
-  my $type;
-  if (@$items) { # A list item has been encountered in this section before
-    $type = $items->[0];  # 0th position of items array is list type
-  } else {
-    $type = get_list_type($_);
-    push @$items, $type;
-  }
-
-  if ($type eq 'numbered') { # The modern items list style
-    # List item boundary is another numbered item or an unindented line
-    my $line;
-    my $item = $_;
-    $item =~ s/^(\s{0,2}\d+\.\s*)//;       # Trim the leading item number
-    my $leading_ws_width = length($1);
-    $item =~ s/\s+$//;                     # Trim trailing whitespace
-    $item .= "\n";
-
-    while ($line_num < $#lines
-           and ($line = $lines[++$line_num]) !~ /^(?:\s{0,2}\d+\.\s*\S|\S)/) {
-      $line =~ s/^\s{$leading_ws_width}//; # Trim leading whitespace
-      $line =~ s/\s+$//;                   # Trim trailing whitespace
-      $item .= "$line\n";
-    }
-    $item =~ s/\n+\Z/\n/;                  # Trim trailing blank lines
-    push @$items, $item;
-    --$line_num unless ($line_num == $#lines);
-  } elsif ($type eq 'paragraph') {         # List item boundary is a blank line
-    my $line;
-    my $item = $_;
-    $item =~ s/^(\s+)//;
-    my $leading_ws_width = defined($1) ? length($1) : 0;
-    $item =~ s/\s+$//;                     # Trim trailing whitespace
-    $item .= "\n";
-
-    while ($line_num < $#lines and ($line = $lines[++$line_num]) =~ /\S/) {
-      $line =~ s/^\s{$leading_ws_width}//; # Trim leading whitespace
-      $line =~ s/\s+$//;                   # Trim trailing whitespace
-      $item .= "$line\n";
-    }
-    push @$items, $item;
-    --$line_num unless ($line_num == $#lines);
-  } else { # $type is one of the bulleted types
-    # List item boundary is another bullet or a blank line
-    my $line;
-    my $item = $_;
-    $item =~ s/^(\s*$type\s*)//;           # Trim the leading bullet
-    my $leading_ws_width = length($1);
-    $item =~ s/\s+$//;                     # Trim trailing whitespace
-    $item .= "\n";
-
-    while ($line_num < $#lines
-           and ($line = $lines[++$line_num]) !~ /^\s*(?:$type|\Z)/) {
-      $line =~ s/^\s{$leading_ws_width}//; # Trim leading whitespace
-      $line =~ s/\s+$//;                   # Trim trailing whitespace
-      $item .= "$line\n";
-    }
-    push @$items, $item;
-    --$line_num unless ($line_num == $#lines);
-  }
-}
-
-#
-# Print HTML-ified version to STDOUT
-#
-print<<"__HTML_HEADER__";
-<!--
-**********************************************************
-** WARNING: This file is generated from CHANGES.txt by the 
-**          Perl script 'changes2html.pl'.
-**          Do *not* edit this file!
-**********************************************************
-          
-****************************************************************************
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements.  See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You under the Apache License, Version 2.0
-* (the "License"); you may not use this file except in compliance with
-* the License.  You may obtain a copy of the License at
-*
-*     http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-****************************************************************************
--->
-<html>
-<head>
-  <title>$title</title>
-  <link rel="stylesheet" href="ChangesFancyStyle.css" title="Fancy">
-  <link rel="alternate stylesheet" href="ChangesSimpleStyle.css" title="Simple">
-  <META http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-  <SCRIPT>
-    function toggleList(e) {
-      element = document.getElementById(e).style;
-      element.display == 'none' ? element.display = 'block' : element.display='none';
-    }
-    function collapse() {
-      for (var i = 0; i < document.getElementsByTagName("ul").length; i++) {
-        var list = document.getElementsByTagName("ul")[i];
-        if (list.id != '$first_relid' && list.id != '$second_relid') {
-          list.style.display = "none";
-        }
-      }
-      for (var i = 0; i < document.getElementsByTagName("ol").length; i++) {
-        document.getElementsByTagName("ol")[i].style.display = "none"; 
-      }
-    }
-    window.onload = collapse;
-  </SCRIPT>
-</head>
-<body>
-
-<a href="http://hadoop.apache.org/core/"><img class="logoImage" alt="Hadoop" src="images/hadoop-logo.jpg" title="Scalable Computing Platform"></a>
-<h1>$title</h1>
-
-__HTML_HEADER__
-
-my $heading;
-my $relcnt = 0;
-my $header = 'h2';
-for my $rel (@releases) {
-  if (++$relcnt == 3) {
-    $header = 'h3';
-    print "<h2><a href=\"javascript:toggleList('older')\">";
-    print "Older Releases";
-    print "</a></h2>\n";
-    print "<ul id=\"older\">\n"
-  }
-      
-  ($release, $sections) = @$rel;
-
-  # The first section heading is undefined for the older sectionless releases
-  my $has_release_sections = $sections->[0][0];
-
-  (my $relid = lc($release)) =~ s/\s+/_/g;
-  print "<$header><a href=\"javascript:toggleList('$relid')\">";
-  print "$release";
-  print "</a></$header>\n";
-  print "<ul id=\"$relid\">\n"
-    if ($has_release_sections);
-
-  for my $section (@$sections) {
-    ($heading, $items) = @$section;
-    (my $sectid = lc($heading)) =~ s/\s+/_/g;
-    my $numItemsStr = $#{$items} > 0 ? "($#{$items})" : "(none)";  
-
-    print "  <li><a href=\"javascript:toggleList('$relid.$sectid')\">",
-          ($heading || ''), "</a>&nbsp;&nbsp;&nbsp;$numItemsStr\n"
-      if ($has_release_sections);
-
-    my $list_type = $items->[0] || '';
-    my $list = ($has_release_sections || $list_type eq 'numbered' ? 'ol' : 'ul');
-    my $listid = $sectid ? "$relid.$sectid" : $relid;
-    print "    <$list id=\"$listid\">\n";
-
-    for my $itemnum (1..$#{$items}) {
-      my $item = $items->[$itemnum];
-      $item =~ s:&:&amp;:g;                            # Escape HTML metachars
-      $item =~ s:<:&lt;:g; 
-      $item =~ s:>:&gt;:g;
-
-      $item =~ s:\s*(\([^)"]+?\))\s*$:<br />$1:;       # Separate attribution
-      $item =~ s:\n{2,}:\n<p/>\n:g;                    # Keep paragraph breaks
-      $item =~ s{(?:${jira_url_prefix})?(HADOOP-\d+)}  # Link to JIRA
-                {<a href="${jira_url_prefix}$1">$1</a>}g;
-      print "      <li>$item</li>\n";
-    }
-    print "    </$list>\n";
-    print "  </li>\n" if ($has_release_sections);
-  }
-  print "</ul>\n" if ($has_release_sections);
-}
-print "</ul>\n" if ($relcnt > 3);
-print "</body>\n</html>\n";
-
-
-#
-# Subroutine: get_list_type
-#
-# Takes one parameter:
-#
-#    - The first line of a sub-section/point
-#
-# Returns one scalar:
-#
-#    - The list type: 'numbered'; or one of the bulleted types '-', or '.' or
-#      'paragraph'.
-#
-sub get_list_type {
-  my $first_list_item_line = shift;
-  my $type = 'paragraph'; # Default to paragraph type
-
-  if ($first_list_item_line =~ /^\s{0,2}\d+\.\s+\S+/) {
-    $type = 'numbered';
-  } elsif ($first_list_item_line =~ /^\s*([-.])\s+\S+/) {
-    $type = $1;
-  }
-  return $type;
-}
-
-1;

+ 0 - 1
hadoop-hdfs-project/hadoop-hdfs/src/main/docs/releasenotes.html

@@ -1 +0,0 @@
-THIS IS A PLACEHOLDER.  REAL RELEASE NOTES WILL BE ADDED TO THIS FILE IN RELEASE BRANCHES.

+ 0 - 7
hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/README.txt

@@ -1,7 +0,0 @@
-This is the base documentation directory.
-
-skinconf.xml     # This file customizes Forrest for your project. In it, you
-                 # tell forrest the project name, logo, copyright info, etc
-
-sitemap.xmap     # Optional. This sitemap is consulted before all core sitemaps.
-                 # See http://forrest.apache.org/docs/project-sitemap.html

+ 0 - 40
hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/classes/CatalogManager.properties

@@ -1,40 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-#=======================================================================
-# CatalogManager.properties
-#
-# This is the default properties file for Apache Forrest.
-# This facilitates local configuration of application-specific catalogs.
-#
-# See the Apache Forrest documentation:
-# http://forrest.apache.org/docs/your-project.html
-# http://forrest.apache.org/docs/validation.html
-
-# verbosity ... level of messages for status/debug
-# See forrest/src/core/context/WEB-INF/cocoon.xconf
-
-# catalogs ... list of additional catalogs to load
-#  (Note that Apache Forrest will automatically load its own default catalog
-#  from src/core/context/resources/schema/catalog.xcat)
-# use full pathnames
-# pathname separator is always semi-colon (;) regardless of operating system
-# directory separator is always slash (/) regardless of operating system
-#
-#catalogs=/home/me/forrest/my-site/src/documentation/resources/schema/catalog.xcat
-catalogs=
-

+ 0 - 327
hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/conf/cli.xconf

@@ -1,327 +0,0 @@
-<?xml version="1.0"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-<!--+
-    |  This is the Apache Cocoon command line configuration file.
-    |  Here you give the command line interface details of where
-    |  to find various aspects of your Cocoon installation.
-    |
-    |  If you wish, you can also use this file to specify the URIs
-    |  that you wish to generate.
-    |
-    |  The current configuration information in this file is for
-    |  building the Cocoon documentation. Therefore, all links here
-    |  are relative to the build context dir, which, in the build.xml
-    |  file, is set to ${build.context}
-    |
-    |  Options:
-    |    verbose:            increase amount of information presented
-    |                        to standard output (default: false)
-    |    follow-links:       whether linked pages should also be
-    |                        generated (default: true)
-    |    precompile-only:    precompile sitemaps and XSP pages, but
-    |                        do not generate any pages (default: false)
-    |    confirm-extensions: check the mime type for the generated page
-    |                        and adjust filename and links extensions
-    |                        to match the mime type
-    |                        (e.g. text/html->.html)
-    |
-    |  Note: Whilst using an xconf file to configure the Cocoon
-    |        Command Line gives access to more features, the use of
-    |        command line parameters is more stable, as there are
-    |        currently plans to improve the xconf format to allow
-    |        greater flexibility. If you require a stable and
-    |        consistent method for accessing the CLI, it is recommended
-    |        that you use the command line parameters to configure
-    |        the CLI. See documentation at:
-    |        http://cocoon.apache.org/2.1/userdocs/offline/
-    |        http://wiki.apache.org/cocoon/CommandLine
-    |
-    +-->
-
-<cocoon verbose="true"
-        follow-links="true"
-        precompile-only="false"
-        confirm-extensions="false">
-
-   <!--+
-       |  The context directory is usually the webapp directory
-       |  containing the sitemap.xmap file.
-       |
-       |  The config file is the cocoon.xconf file.
-       |
-       |  The work directory is used by Cocoon to store temporary
-       |  files and cache files.
-       |
-       |  The destination directory is where generated pages will
-       |  be written (assuming the 'simple' mapper is used, see
-       |  below)
-       +-->
-   <context-dir>.</context-dir>
-   <config-file>WEB-INF/cocoon.xconf</config-file>
-   <work-dir>../tmp/cocoon-work</work-dir>
-   <dest-dir>../site</dest-dir>
-
-   <!--+
-       |  A checksum file can be used to store checksums for pages
-       |  as they are generated. When the site is next generated,
-       |  files will not be written if their checksum has not changed.
-       |  This means that it will be easier to detect which files
-       |  need to be uploaded to a server, using the timestamp.
-       |
-       |  The default path is relative to the core webapp directory.
-       |  An asolute path can be used.
-       +-->
-   <!--   <checksums-uri>build/work/checksums</checksums-uri>-->
-
-   <!--+
-       | Broken link reporting options:
-       |   Report into a text file, one link per line:
-       |     <broken-links type="text" report="filename"/>
-       |   Report into an XML file:
-       |     <broken-links type="xml" report="filename"/>
-       |   Ignore broken links (default):
-       |     <broken-links type="none"/>
-       |
-       |   Two attributes to this node specify whether a page should
-       |   be generated when an error has occured. 'generate' specifies
-       |   whether a page should be generated (default: true) and
-       |   extension specifies an extension that should be appended
-       |   to the generated page's filename (default: none)
-       |
-       |   Using this, a quick scan through the destination directory
-       |   will show broken links, by their filename extension.
-       +-->
-   <broken-links type="xml"
-                 file="../brokenlinks.xml"
-                 generate="false"
-                 extension=".error"
-                 show-referrers="true"/>
-
-   <!--+
-       |  Load classes at startup. This is necessary for generating
-       |  from sites that use SQL databases and JDBC.
-       |  The <load-class> element can be repeated if multiple classes
-       |  are needed.
-       +-->
-   <!--
-   <load-class>org.firebirdsql.jdbc.Driver</load-class>
-   -->
-
-   <!--+
-       |  Configures logging.
-       |  The 'log-kit' parameter specifies the location of the log kit
-       |  configuration file (usually called logkit.xconf.
-       |
-       |  Logger specifies the logging category (for all logging prior
-       |  to other Cocoon logging categories taking over)
-       |
-       |  Available log levels are:
-       |    DEBUG:        prints all level of log messages.
-       |    INFO:         prints all level of log messages except DEBUG
-       |                  ones.
-       |    WARN:         prints all level of log messages except DEBUG
-       |                  and INFO ones.
-       |    ERROR:        prints all level of log messages except DEBUG,
-       |                  INFO and WARN ones.
-       |    FATAL_ERROR:  prints only log messages of this level
-       +-->
-   <!-- <logging log-kit="WEB-INF/logkit.xconf" logger="cli" level="ERROR" /> -->
-
-   <!--+
-       |  Specifies the filename to be appended to URIs that
-       |  refer to a directory (i.e. end with a forward slash).
-       +-->
-   <default-filename>index.html</default-filename>
-
-   <!--+
-       |  Specifies a user agent string to the sitemap when
-       |  generating the site.
-       |
-       |  A generic term for a web browser is "user agent". Any
-       |  user agent, when connecting to a web server, will provide
-       |  a string to identify itself (e.g. as Internet Explorer or
-       |  Mozilla). It is possible to have Cocoon serve different
-       |  content depending upon the user agent string provided by
-       |  the browser. If your site does this, then you may want to
-       |  use this <user-agent> entry to provide a 'fake' user agent
-       |  to Cocoon, so that it generates the correct version of your
-       |  site.
-       |
-       |  For most sites, this can be ignored.
-       +-->
-   <!--
-   <user-agent>Cocoon Command Line Environment 2.1</user-agent>
-   -->
-
-   <!--+
-       |  Specifies an accept string to the sitemap when generating
-       |  the site.
-       |  User agents can specify to an HTTP server what types of content
-       |  (by mime-type) they are able to receive. E.g. a browser may be
-       |  able to handle jpegs, but not pngs. The HTTP accept header
-       |  allows the server to take the browser's capabilities into account,
-       |  and only send back content that it can handle.
-       |
-       |  For most sites, this can be ignored.
-       +-->
-
-   <accept>*/*</accept>
-
-   <!--+
-       | Specifies which URIs should be included or excluded, according
-       | to wildcard patterns.
-       |
-       | These includes/excludes are only relevant when you are following
-       | links. A link URI must match an include pattern (if one is given)
-       | and not match an exclude pattern, if it is to be followed by
-       | Cocoon. It can be useful, for example, where there are links in
-       | your site to pages that are not generated by Cocoon, such as
-       | references to api-documentation.
-       |
-       | By default, all URIs are included. If both include and exclude
-       | patterns are specified, a URI is first checked against the
-       | include patterns, and then against the exclude patterns.
-       |
-       | Multiple patterns can be given, using muliple include or exclude
-       | nodes.
-       |
-       | The order of the elements is not significant, as only the first
-       | successful match of each category is used.
-       |
-       | Currently, only the complete source URI can be matched (including
-       | any URI prefix). Future plans include destination URI matching
-       | and regexp matching. If you have requirements for these, contact
-       | dev@cocoon.apache.org.
-       +-->
-
-   <exclude pattern="**/"/>
-   <exclude pattern="api/**"/>
-   <exclude pattern="jdiff/**"/>
-   <exclude pattern="changes.html"/>
-   <exclude pattern="releasenotes.html"/>
-
-<!--
-  This is a workaround for FOR-284 "link rewriting broken when
-  linking to xml source views which contain site: links".
-  See the explanation there and in declare-broken-site-links.xsl
--->
-   <exclude pattern="site:**"/>
-   <exclude pattern="ext:**"/>
-   <exclude pattern="lm:**"/>
-   <exclude pattern="**/site:**"/>
-   <exclude pattern="**/ext:**"/>
-   <exclude pattern="**/lm:**"/>
-
-   <!-- Exclude tokens used in URLs to ASF mirrors (interpreted by a CGI) -->
-   <exclude pattern="[preferred]/**"/>
-   <exclude pattern="[location]"/>
-
-   <!--   <include-links extension=".html"/>-->
-
-   <!--+
-       |  <uri> nodes specify the URIs that should be generated, and
-       |  where required, what should be done with the generated pages.
-       |  They describe the way the URI of the generated file is created
-       |  from the source page's URI. There are three ways that a generated
-       |  file URI can be created: append, replace and insert.
-       |
-       |  The "type" attribute specifies one of (append|replace|insert):
-       |
-       |  append:
-       |  Append the generated page's URI to the end of the source URI:
-       |
-       |   <uri type="append" src-prefix="documents/" src="index.html"
-       |   dest="build/dest/"/>
-       |
-       |  This means that
-       |   (1) the "documents/index.html" page is generated
-       |   (2) the file will be written to "build/dest/documents/index.html"
-       |
-       |  replace:
-       |  Completely ignore the generated page's URI - just
-       |  use the destination URI:
-       |
-       |   <uri type="replace" src-prefix="documents/" src="index.html"
-       |   dest="build/dest/docs.html"/>
-       |
-       |  This means that
-       |   (1) the "documents/index.html" page is generated
-       |   (2) the result is written to "build/dest/docs.html"
-       |   (3) this works only for "single" pages - and not when links
-       |       are followed
-       |
-       |  insert:
-       |  Insert generated page's URI into the destination
-       |  URI at the point marked with a * (example uses fictional
-       |  zip protocol)
-       |
-       |   <uri type="insert" src-prefix="documents/" src="index.html"
-       |   dest="zip://*.zip/page.html"/>
-       |
-       |  This means that
-       |   (1)
-       |
-       |  In any of these scenarios, if the dest attribute is omitted,
-       |  the value provided globally using the <dest-dir> node will
-       |  be used instead.
-       +-->
-   <!--
-   <uri type="replace"
-        src-prefix="samples/"
-        src="hello-world/hello.html"
-        dest="build/dest/hello-world.html"/>
-   -->
-
-   <!--+
-       | <uri> nodes can be grouped together in a <uris> node. This
-       | enables a group of URIs to share properties. The following
-       | properties can be set for a group of URIs:
-       |   * follow-links:       should pages be crawled for links
-       |   * confirm-extensions: should file extensions be checked
-       |                         for the correct mime type
-       |   * src-prefix:         all source URIs should be
-       |                         pre-pended with this prefix before
-       |                         generation. The prefix is not
-       |                         included when calculating the
-       |                         destination URI
-       |   * dest:               the base destination URI to be
-       |                         shared by all pages in this group
-       |   * type:               the method to be used to calculate
-       |                         the destination URI. See above
-       |                         section on <uri> node for details.
-       |
-       | Each <uris> node can have a name attribute. When a name
-       | attribute has been specified, the -n switch on the command
-       | line can be used to tell Cocoon to only process the URIs
-       | within this URI group. When no -n switch is given, all
-       | <uris> nodes are processed. Thus, one xconf file can be
-       | used to manage multiple sites.
-       +-->
-   <!--
-   <uris name="mirrors" follow-links="false">
-     <uri type="append" src="mirrors.html"/>
-   </uris>
-   -->
-
-   <!--+
-       |  File containing URIs (plain text, one per line).
-       +-->
-   <!--
-   <uri-file>uris.txt</uri-file>
-   -->
-</cocoon>

+ 0 - 46
hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/content/xdocs/index.xml

@@ -1,46 +0,0 @@
-<?xml version="1.0"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
-
-<document>
-  <header>
-    <title>Overview</title>
-  </header>
-  <body>
-  
-  <p>
-  The HDFS Documentation provides the information you need to get started using the Hadoop Distributed File System. 
-  Begin with the <a href="hdfs_user_guide.html">HDFS Users Guide</a> to obtain an overview of the system and then
-  move on to the <a href="hdfs_design.html">HDFS Architecture Guide</a> for more detailed information.
-  </p>
-  
-  <p>
-   HDFS commonly works in tandem with a cluster environment and MapReduce applications. 
-   For information about Hadoop clusters (single or multi node) see the 
- <a href="http://hadoop.apache.org/common/docs/current/index.html">Hadoop Common Documentation</a>.
-   For information about MapReduce see the 
- <a href="http://hadoop.apache.org/mapreduce/docs/current/index.html">MapReduce Documentation</a>.
-  </p>   
-  
-<p>
-If you have more questions, you can ask on the <a href="ext:lists">HDFS Mailing Lists</a> or browse the <a href="ext:archive">Mailing List Archives</a>.
-</p>
-
-</body>
-</document>

+ 0 - 289
hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/content/xdocs/site.xml

@@ -1,289 +0,0 @@
-<?xml version="1.0"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-
-<!--
-Forrest site.xml
-
-This file contains an outline of the site's information content.  It is used to:
-- Generate the website menus (though these can be overridden - see docs)
-- Provide semantic, location-independent aliases for internal 'site:' URIs, eg
-<link href="site:changes"> links to changes.html (or ../changes.html if in
-  subdir).
-- Provide aliases for external URLs in the external-refs section.  Eg, <link
-  href="ext:cocoon"> links to http://xml.apache.org/cocoon/
-
-See http://forrest.apache.org/docs/linking.html for more info.
--->
-
-<site label="Hadoop" href="" xmlns="http://apache.org/forrest/linkmap/1.0">
-  
-   <docs label="Getting Started"> 
-
-     <hdfs_user  label="HDFS Users "  href="hdfs_user_guide.html" />
-     <hdfs_arch  label="HDFS Architecture" href="hdfs_design.html" />	
-   </docs>
-   <docs label="Guides">
-      <hdfs_perm      		label="Permissions" href="hdfs_permissions_guide.html" />
-      <hdfs_quotas     	    label="Quotas" href="hdfs_quota_admin_guide.html" />
-      <hdfs_SLG        		label="Synthetic Load Generator"  href="SLG_user_guide.html" />
-      <hdfs_imageviewer	label="Offline Image Viewer"	href="hdfs_imageviewer.html" />
-      <hdfs_editsviewer	label="Offline Edits Viewer"	href="hdfs_editsviewer.html" />
-      <webhdfs label="WebHDFS REST API" href="webhdfs.html" />
-      <hftp 			    label="HFTP" href="hftp.html"/>
-      <faultinject_framework label="Fault Injection"  href="faultinject_framework.html" /> 
-      <hdfs_libhdfs   		label="C API libhdfs" href="libhdfs.html" /> 
-    </docs>
-   
-   <docs label="Miscellaneous"> 
-		<api       	label="API Docs"           href="ext:api/index" />
-		<jdiff     	label="API Changes"      href="ext:jdiff/changes" />
-		<wiki      	label="Wiki"               	href="ext:wiki" />
-		<faq       	label="FAQ"                	href="ext:faq" />
-		<relnotes  label="Release Notes" 	href="ext:relnotes" />
-		<changes	label="Change Log"       href="ext:changes" />
-   </docs> 
-   
-  <external-refs>
-    <site      href="http://hadoop.apache.org/hdfs/"/>
-    <lists     href="http://hadoop.apache.org/hdfs/mailing_lists.html"/>
-    <archive   href="http://mail-archives.apache.org/mod_mbox/hadoop-hdfs-commits/"/>
-    <releases  href="http://hadoop.apache.org/hdfs/releases.html">
-              <download href="#Download" />
-    </releases>
-    <jira      href="http://hadoop.apache.org/hdfs/issue_tracking.html"/>
-    <wiki      href="http://wiki.apache.org/hadoop/HDFS" />
-    <faq       href="http://wiki.apache.org/hadoop/HDFS/FAQ" />
-    
-    <common-default href="http://hadoop.apache.org/common/docs/current/common-default.html" />
-    <hdfs-default href="http://hadoop.apache.org/hdfs/docs/current/hdfs-default.html" />
-    <mapred-default href="http://hadoop.apache.org/mapreduce/docs/current/mapred-default.html" />
-    
-    <zlib      href="http://www.zlib.net/" />
-    <gzip      href="http://www.gzip.org/" />
-    <bzip      href="http://www.bzip.org/" />
-    <osx       href="http://www.apple.com/macosx" />
-    <hod href="">
-      <cluster-resources href="http://www.clusterresources.com" />
-      <torque href="http://www.clusterresources.com/pages/products/torque-resource-manager.php" />
-      <torque-download href="http://www.clusterresources.com/downloads/torque/" />
-      <torque-docs href="http://www.clusterresources.com/pages/resources/documentation.php" />
-      <torque-wiki href="http://www.clusterresources.com/wiki/doku.php?id=torque:torque_wiki" />
-      <torque-mailing-list href="http://www.clusterresources.com/pages/resources/mailing-lists.php" />
-      <torque-basic-config href="http://www.clusterresources.com/wiki/doku.php?id=torque:1.2_basic_configuration" />
-      <torque-advanced-config href="http://www.clusterresources.com/wiki/doku.php?id=torque:1.3_advanced_configuration" />
-      <maui href="http://www.clusterresources.com/pages/products/maui-cluster-scheduler.php"/>
-      <python href="http://www.python.org" />
-      <twisted-python href="http://twistedmatrix.com/trac/" />
-    </hod>
-    <relnotes href="releasenotes.html" />
-    <changes href="changes.html" />
-    <jdiff href="jdiff/">
-      <changes href="changes.html" />
-    </jdiff>
-    <api href="api/">
-      <index href="index.html" />
-      <org href="org/">
-        <apache href="apache/">
-          <hadoop href="hadoop/">
-            <conf href="conf/">
-              <configuration href="Configuration.html">
-                <final_parameters href="#FinalParams" />
-                <get href="#get(java.lang.String, java.lang.String)" />
-                <set href="#set(java.lang.String, java.lang.String)" />
-              </configuration>
-            </conf>
-            <filecache href="filecache/">
-              <distributedcache href="DistributedCache.html">
-                <addarchivetoclasspath href="#addArchiveToClassPath(org.apache.hadoop.fs.Path,%20org.apache.hadoop.conf.Configuration)" />
-                <addfiletoclasspath href="#addFileToClassPath(org.apache.hadoop.fs.Path,%20org.apache.hadoop.conf.Configuration)" />
-                <addcachefile href="#addCacheFile(java.net.URI,%20org.apache.hadoop.conf.Configuration)" />
-                <addcachearchive href="#addCacheArchive(java.net.URI,%20org.apache.hadoop.conf.Configuration)" />
-                <setcachefiles href="#setCacheFiles(java.net.URI[],%20org.apache.hadoop.conf.Configuration)" />
-                <setcachearchives href="#setCacheArchives(java.net.URI[],%20org.apache.hadoop.conf.Configuration)" />
-                <createsymlink href="#createSymlink(org.apache.hadoop.conf.Configuration)" />
-              </distributedcache>  
-            </filecache>
-            <fs href="fs/">
-              <FileStatus href="FileStatus.html" />
-              <Path href="Path.html" />
-
-              <filesystem href="FileSystem.html">
-                <open href="#open(org.apache.hadoop.fs.Path,%20int)" />
-                <getFileStatus href="#getFileStatus(org.apache.hadoop.fs.Path)" />
-                <listStatus href="#listStatus(org.apache.hadoop.fs.Path)" />
-                <getContentSummary href="#getContentSummary(org.apache.hadoop.fs.Path)" />
-                <getFileChecksum href="#getFileChecksum(org.apache.hadoop.fs.Path)" />
-                <getHomeDirectory href="#getHomeDirectory()" />
-                <getDelegationToken href="#getDelegationToken(org.apache.hadoop.io.Text)" />
-
-                <create href="#create(org.apache.hadoop.fs.Path,%20org.apache.hadoop.fs.permission.FsPermission,%20boolean,%20int,%20short,%20long,%20org.apache.hadoop.util.Progressable)" />
-                <mkdirs href="#mkdirs(org.apache.hadoop.fs.Path,%20org.apache.hadoop.fs.permission.FsPermission)" />
-                <rename href="#rename(org.apache.hadoop.fs.Path,%20org.apache.hadoop.fs.Path,%20org.apache.hadoop.fs.Options.Rename...)" />
-                <setReplication href="#setReplication(org.apache.hadoop.fs.Path,%20short)" />
-                <setOwner href="#setOwner(org.apache.hadoop.fs.Path,%20java.lang.String,%20java.lang.String)" />
-                <setPermission href="#setPermission(org.apache.hadoop.fs.Path,%20org.apache.hadoop.fs.permission.FsPermission)" />
-                <setTimes href="#setTimes(org.apache.hadoop.fs.Path,%20long,%20long)" />
-
-                <append href="#append(org.apache.hadoop.fs.Path,%20int,%20org.apache.hadoop.util.Progressable)" />
-                <delete href="#delete(org.apache.hadoop.fs.Path,%20boolean)" />
-              </filesystem>
-            </fs>
-
-
-
-            <io href="io/">
-              <closeable href="Closeable.html">
-                <close href="#close()" />
-              </closeable>
-              <sequencefile href="SequenceFile.html" />
-              <sequencefilecompressiontype href="SequenceFile.CompressionType.html">
-                <none href="#NONE" />
-                <record href="#RECORD" />
-                <block href="#BLOCK" />
-              </sequencefilecompressiontype>
-              <writable href="Writable.html" />
-              <writablecomparable href="WritableComparable.html" />
-              <compress href="compress/">
-                <compressioncodec href="CompressionCodec.html" />
-              </compress>
-            </io>
-            <mapred href="mapred/">
-              <clusterstatus href="ClusterStatus.html" />
-              <counters href="Counters.html" />
-              <fileinputformat href="FileInputFormat.html">
-                 <setinputpaths href="#setInputPaths(org.apache.hadoop.mapred.JobConf,%20org.apache.hadoop.fs.Path[])" />
-                 <addinputpath href="#addInputPath(org.apache.hadoop.mapred.JobConf,%20org.apache.hadoop.fs.Path)" />
-                 <setinputpathstring href="#setInputPaths(org.apache.hadoop.mapred.JobConf,%20java.lang.String)" />
-                 <addinputpathstring href="#addInputPath(org.apache.hadoop.mapred.JobConf,%20java.lang.String)" />
-              </fileinputformat>
-              <fileoutputformat href="FileOutputFormat.html">
-                <getoutputpath href="#getOutputPath(org.apache.hadoop.mapred.JobConf)" />
-                <getworkoutputpath href="#getWorkOutputPath(org.apache.hadoop.mapred.JobConf)" />
-                <setoutputpath href="#setOutputPath(org.apache.hadoop.mapred.JobConf,%20org.apache.hadoop.fs.Path)" />
-                <setcompressoutput href="#setCompressOutput(org.apache.hadoop.mapred.JobConf,%20boolean)" />
-                <setoutputcompressorclass href="#setOutputCompressorClass(org.apache.hadoop.mapred.JobConf,%20java.lang.Class)" />
-              </fileoutputformat>
-              <filesplit href="FileSplit.html" />
-              <inputformat href="InputFormat.html" />
-              <inputsplit href="InputSplit.html" />
-              <isolationrunner href="IsolationRunner.html" />
-              <jobclient href="JobClient.html">
-                <runjob href="#runJob(org.apache.hadoop.mapred.JobConf)" />
-                <submitjob href="#submitJob(org.apache.hadoop.mapred.JobConf)" />
-              </jobclient>
-              <jobconf href="JobConf.html">
-                <setnummaptasks href="#setNumMapTasks(int)" />
-                <setnumreducetasks href="#setNumReduceTasks(int)" />
-                <setoutputkeycomparatorclass href="#setOutputKeyComparatorClass(java.lang.Class)" />
-                <setoutputvaluegroupingcomparator href="#setOutputValueGroupingComparator(java.lang.Class)" />
-                <setcombinerclass href="#setCombinerClass(java.lang.Class)" />
-                <setmapdebugscript href="#setMapDebugScript(java.lang.String)" />
-                <setreducedebugscript href="#setReduceDebugScript(java.lang.String)" />
-                <setmapspeculativeexecution href="#setMapSpeculativeExecution(boolean)" />
-                <setreducespeculativeexecution href="#setReduceSpeculativeExecution(boolean)" />
-                <setmaxmapattempts href="#setMaxMapAttempts(int)" />
-                <setmaxreduceattempts href="#setMaxReduceAttempts(int)" />
-                <setmaxmaptaskfailurespercent href="#setMaxMapTaskFailuresPercent(int)" />
-                <setmaxreducetaskfailurespercent href="#setMaxReduceTaskFailuresPercent(int)" />
-                <setjobendnotificationuri href="#setJobEndNotificationURI(java.lang.String)" />
-                <setcompressmapoutput href="#setCompressMapOutput(boolean)" />
-                <setmapoutputcompressorclass href="#setMapOutputCompressorClass(java.lang.Class)" />
-                <setprofileenabled href="#setProfileEnabled(boolean)" />
-                <setprofiletaskrange href="#setProfileTaskRange(boolean,%20java.lang.String)" />
-                <setprofileparams href="#setProfileParams(java.lang.String)" />
-                <setnumtaskstoexecuteperjvm href="#setNumTasksToExecutePerJvm(int)" />
-                <setqueuename href="#setQueueName(java.lang.String)" />
-                <getjoblocaldir href="#getJobLocalDir()" />
-                <getjar href="#getJar()" />
-              </jobconf>
-              <jobconfigurable href="JobConfigurable.html">
-                <configure href="#configure(org.apache.hadoop.mapred.JobConf)" />
-              </jobconfigurable>
-              <jobcontrol href="jobcontrol/">
-                <package-summary href="package-summary.html" />
-              </jobcontrol>
-              <mapper href="Mapper.html">
-                <map href="#map(K1, V1, org.apache.hadoop.mapred.OutputCollector, org.apache.hadoop.mapred.Reporter)" />
-              </mapper>
-              <outputcollector href="OutputCollector.html">
-                <collect href="#collect(K, V)" />
-              </outputcollector>
-              <outputcommitter href="OutputCommitter.html" />
-              <outputformat href="OutputFormat.html" />
-              <outputlogfilter href="OutputLogFilter.html" />
-              <sequencefileoutputformat href="SequenceFileOutputFormat.html">
-                <setoutputcompressiontype href="#setOutputCompressionType(org.apache.hadoop.mapred.JobConf,%20org.apache.hadoop.io.SequenceFile.CompressionType)" />
-              </sequencefileoutputformat>
-              <partitioner href="Partitioner.html" />
-              <recordreader href="RecordReader.html" />
-              <recordwriter href="RecordWriter.html" />
-              <reducer href="Reducer.html">
-                <reduce href="#reduce(K2, java.util.Iterator, org.apache.hadoop.mapred.OutputCollector, org.apache.hadoop.mapred.Reporter)" />
-              </reducer>
-              <reporter href="Reporter.html">
-                <incrcounterEnum href="#incrCounter(java.lang.Enum, long)" />
-                <incrcounterString href="#incrCounter(java.lang.String, java.lang.String, long amount)" />
-              </reporter>
-              <runningjob href="RunningJob.html" />
-              <skipbadrecords href="SkipBadRecords.html">
-                <setmappermaxskiprecords href="#setMapperMaxSkipRecords(org.apache.hadoop.conf.Configuration, long)"/>
-                <setreducermaxskipgroups href="#setReducerMaxSkipGroups(org.apache.hadoop.conf.Configuration, long)"/>
-                <setattemptsTostartskipping href="#setAttemptsToStartSkipping(org.apache.hadoop.conf.Configuration, int)"/>
-                <setskipoutputpath href="#setSkipOutputPath(org.apache.hadoop.mapred.JobConf, org.apache.hadoop.fs.Path)"/>
-                <counter_map_processed_records href="#COUNTER_MAP_PROCESSED_RECORDS"/>
-                <counter_reduce_processed_groups href="#COUNTER_REDUCE_PROCESSED_GROUPS"/>
-              </skipbadrecords>
-              <textinputformat href="TextInputFormat.html" />
-              <textoutputformat href="TextOutputFormat.html" />
-              <lib href="lib/">
-                <package-summary href="package-summary.html" />
-                <hashpartitioner href="HashPartitioner.html" />
-                <keyfieldbasedpartitioner href="KeyFieldBasedPartitioner.html" />
-                <keyfieldbasedcomparator href="KeyFieldBasedComparator.html" />
-                <lazyoutputformat href="LazyOutputFormat.html" />
-                <aggregate href="aggregate/">
-                  <package-summary href="package-summary.html" />
-                </aggregate>
-              </lib>
-              <pipes href="pipes/">
-                <package-summary href="package-summary.html" />
-              </pipes>
-            </mapred>
-            <net href="net/">
-              <dnstoswitchmapping href="DNSToSwitchMapping.html">
-              <resolve href="#resolve(java.util.List)" />
-              </dnstoswitchmapping>
-            </net>
-            <streaming href="streaming/">
-              <package-summary href="package-summary.html" />
-            </streaming>
-            <util href="util/">
-              <genericoptionsparser href="GenericOptionsParser.html" />
-              <progress href="Progress.html" />
-              <tool href="Tool.html" />
-              <toolrunner href="ToolRunner.html">
-                <run href="#run(org.apache.hadoop.util.Tool, java.lang.String[])" />
-              </toolrunner>
-            </util>
-          </hadoop>
-        </apache>
-      </org>
-    </api>
-  </external-refs>
- 
-</site>

+ 0 - 37
hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/content/xdocs/tabs.xml

@@ -1,37 +0,0 @@
-<?xml version="1.0"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-
-<!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.0//EN" 
-          "http://forrest.apache.org/dtd/tab-cocoon-v10.dtd">
-
-<tabs software="Hadoop"
-      title="Hadoop"
-      copyright="The Apache Software Foundation"
-      xmlns:xlink="http://www.w3.org/1999/xlink">
-
-  <!-- The rules are:
-    @dir will always have /index.html added.
-    @href is not modified unless it is root-relative and obviously specifies a
-    directory (ends in '/'), in which case /index.html will be added
-  -->
-
-  <tab label="Project" href="http://hadoop.apache.org/hdfs/" />
-  <tab label="Wiki" href="http://wiki.apache.org/hadoop/HDFS" />
-  <tab label="HDFS 0.23 Documentation" dir="" />  
-  
-</tabs>

+ 0 - 1577
hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/content/xdocs/webhdfs.xml

@@ -1,1577 +0,0 @@
-<?xml version="1.0"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
-
-<document>
-  <header>
-    <title>WebHDFS REST API</title>
-  </header>
-
-  <body>
-    <section>
-      <title>Document Conventions</title>
-<table>
-<tr><td><code>Monospaced</code></td><td>Used for commands, HTTP request and responses and code blocks.</td></tr>
-<tr><td><code>&lt;Monospaced&gt;</code></td><td>User entered values.</td></tr>
-<tr><td><code>[Monospaced]</code></td><td>Optional values.  When the value is not specified, the default value is used.</td></tr>
-<tr><td><em>Italics</em></td><td>Important phrases and words.</td></tr>
-</table>
-    </section>
-<!-- ***************************************************************************** -->
-    <section>
-      <title>Introduction</title>
-<p>
-  The HTTP REST API supports the complete FileSystem interface for HDFS.
-  The operations and the corresponding FileSystem methods are shown in the next section.
-  The Section <a href="#ParameterDictionary">HTTP Query Parameter Dictionary</a> specifies the parameter details
-  such as the defaults and the valid values.
-</p>
-      <section id="Operations">
-        <title>Operations</title>
-<ul>
-  <li>HTTP GET
-  <ul>
-    <li><a href="#OPEN"><code>OPEN</code></a>
-        (see <a href="ext:api/org/apache/hadoop/fs/filesystem/open">FileSystem.open</a>)
-    </li>
-    <li><a href="#GETFILESTATUS"><code>GETFILESTATUS</code></a>
-        (see <a href="ext:api/org/apache/hadoop/fs/filesystem/getFileStatus">FileSystem.getFileStatus</a>)
-    </li>
-    <li><a href="#LISTSTATUS"><code>LISTSTATUS</code></a>
-        (see <a href="ext:api/org/apache/hadoop/fs/filesystem/listStatus">FileSystem.listStatus</a>)
-    </li>
-    <li><a href="#GETCONTENTSUMMARY"><code>GETCONTENTSUMMARY</code></a>
-        (see <a href="ext:api/org/apache/hadoop/fs/filesystem/getContentSummary">FileSystem.getContentSummary</a>)
-    </li>
-    <li><a href="#GETFILECHECKSUM"><code>GETFILECHECKSUM</code></a>
-        (see <a href="ext:api/org/apache/hadoop/fs/filesystem/getFileChecksum">FileSystem.getFileChecksum</a>)
-    </li>
-    <li><a href="#GETHOMEDIRECTORY"><code>GETHOMEDIRECTORY</code></a>
-        (see <a href="ext:api/org/apache/hadoop/fs/filesystem/getHomeDirectory">FileSystem.getHomeDirectory</a>)
-    </li>
-    <li><a href="#GETDELEGATIONTOKEN"><code>GETDELEGATIONTOKEN</code></a>
-        (see <a href="ext:api/org/apache/hadoop/fs/filesystem/getDelegationToken">FileSystem.getDelegationToken</a>)
-    </li>
-  </ul></li>
-  <li>HTTP PUT
-  <ul>
-    <li><a href="#CREATE"><code>CREATE</code></a>
-        (see <a href="ext:api/org/apache/hadoop/fs/filesystem/create">FileSystem.create</a>)
-    </li>
-    <li><a href="#MKDIRS"><code>MKDIRS</code></a>
-        (see <a href="ext:api/org/apache/hadoop/fs/filesystem/mkdirs">FileSystem.mkdirs</a>)
-    </li>
-    <li><a href="#RENAME"><code>RENAME</code></a>
-        (see <a href="ext:api/org/apache/hadoop/fs/filesystem/rename">FileSystem.rename</a>)
-    </li>
-    <li><a href="#SETREPLICATION"><code>SETREPLICATION</code></a>
-        (see <a href="ext:api/org/apache/hadoop/fs/filesystem/setReplication">FileSystem.setReplication</a>)
-    </li>
-    <li><a href="#SETOWNER"><code>SETOWNER</code></a>
-        (see <a href="ext:api/org/apache/hadoop/fs/filesystem/setOwner">FileSystem.setOwner</a>)
-    </li>
-    <li><a href="#SETPERMISSION"><code>SETPERMISSION</code></a>
-        (see <a href="ext:api/org/apache/hadoop/fs/filesystem/setPermission">FileSystem.setPermission</a>)
-    </li>
-    <li><a href="#SETTIMES"><code>SETTIMES</code></a>
-        (see <a href="ext:api/org/apache/hadoop/fs/filesystem/setTimes">FileSystem.setTimes</a>)
-    </li>
-    <li><a href="#RENEWDELEGATIONTOKEN"><code>RENEWDELEGATIONTOKEN</code></a>
-        (see DistributedFileSystem.renewDelegationToken)
-    </li>
-    <li><a href="#CANCELDELEGATIONTOKEN"><code>CANCELDELEGATIONTOKEN</code></a>
-        (see DistributedFileSystem.cancelDelegationToken)
-    </li>
-  </ul></li>
-  <li>HTTP POST
-  <ul>
-    <li><a href="#APPEND"><code>APPEND</code></a>
-        (see <a href="ext:api/org/apache/hadoop/fs/filesystem/append">FileSystem.append</a>)
-    </li>
-  </ul></li>
-  <li>HTTP DELETE
-  <ul>
-    <li><a href="#DELETE"><code>DELETE</code></a>
-        (see <a href="ext:api/org/apache/hadoop/fs/filesystem/delete">FileSystem.delete</a>)
-    </li>
-  </ul></li>
-</ul>
-
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="FsURIvsHTTP_URL">
-        <title>FileSystem URIs vs HTTP URLs</title>
-<p>
-  The FileSystem scheme of WebHDFS is "<code>webhdfs://</code>".
-  A WebHDFS FileSystem URI has the following format.
-</p>
-<source>
-  webhdfs://&lt;HOST&gt;:&lt;HTTP_PORT&gt;/&lt;PATH&gt;
-</source>
-<p>
-  The above WebHDFS URI corresponds to the below HDFS URI.
-</p>
-<source>
-  hdfs://&lt;HOST&gt;:&lt;RPC_PORT&gt;/&lt;PATH&gt;
-</source>
-<p>
-  In the REST API, the prefix "<code>/webhdfs/v1</code>" is inserted in the path and a query is appended at the end.
-  Therefore, the corresponding HTTP URL has the following format.
-</p>
-<source>
-  http://&lt;HOST&gt;:&lt;HTTP_PORT&gt;/webhdfs/v1/&lt;PATH&gt;?op=...
-</source>
-      </section>
-<!-- ***************************************************************************** -->
-      <section>
-        <title>HDFS Configuration Options</title>
-<p>
-  Below are the HDFS configuration options for WebHDFS.
-</p>
-<table>
-<tr><th>Property Name</th><th>Description</th></tr>
-<tr><td><code>dfs.webhdfs.enabled</code></td>
-<td>Enable/disable WebHDFS in Namenodes and Datanodes
-</td></tr>
-<tr><td><code>dfs.web.authentication.kerberos.principal</code></td>
-<td>The HTTP Kerberos principal used by Hadoop-Auth in the HTTP endpoint.
-    The HTTP Kerberos principal MUST start with 'HTTP/' per Kerberos
-    HTTP SPNEGO specification.
-</td></tr>
-<tr><td><code>dfs.web.authentication.kerberos.keytab</code></td>
-<td>The Kerberos keytab file with the credentials for the
-    HTTP Kerberos principal used by Hadoop-Auth in the HTTP endpoint.
-</td></tr>
-</table>
-      </section>
-    </section>
-<!-- ***************************************************************************** -->
-    <section id="Authentication">
-      <title>Authentication</title>
-<p>
-  When security is <em>off</em>, the authenticated user is the username specified in the <code>user.name</code> query parameter.
-  If the <code>user.name</code> parameter is not set,
-  the server may either set the authenticated user to a default web user, if there is any, or return an error response.
-</p>
-<p>
-  When security is <em>on</em>, authentication is performed by either Hadoop delegation token or Kerberos SPNEGO.
-  If a token is set in the <code>delegation</code> query parameter, the authenticated user is the user encoded in the token.
-  If the <code>delegation</code> parameter is not set, the user is authenticated by Kerberos SPNEGO.
-</p>
-<p>
-Below are examples using the <code>curl</code> command tool.
-</p>
-<ol>
-  <li>
-    Authentication when security is off:
-    <source>
-curl -i "http://&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?[user.name=&lt;USER&gt;&amp;]op=..."
-    </source>
-  </li><li>
-    Authentication using Kerberos SPNEGO when security is on:
-    <source>
-curl -i --negotiate -u : "http://&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?op=..."
-    </source>
-  </li><li>
-    Authentication using Hadoop delegation token when security is on:
-    <source>
-curl -i "http://&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?delegation=&lt;TOKEN&gt;&amp;op=..."
-    </source>
-  </li>
-</ol>
-    </section>
-<!-- ***************************************************************************** -->
-    <section id="ProxyUsers">
-      <title>Proxy Users</title>
-<p>
-  When the proxy user feature is enabled, a proxy user <em>P</em> may submit a request on behalf of another user <em>U</em>.
-  The username of <em>U</em> must be specified in the <code>doas</code> query parameter unless a delegation token is presented in authentication.
-  In such case, the information of both users <em>P</em> and <em>U</em> must be encoded in the delegation token.
-</p>
-<ol>
-  <li>
-    A proxy request when security is off:
-    <source>
-curl -i "http://&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?[user.name=&lt;USER&gt;&amp;]doas=&lt;USER&gt;&amp;op=..."
-    </source>
-  </li><li>
-    A proxy request using Kerberos SPNEGO when security is on:
-    <source>
-curl -i --negotiate -u : "http://&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?doas=&lt;USER&gt;&amp;op=..."
-    </source>
-  </li><li>
-    A proxy request using Hadoop delegation token when security is on:
-    <source>
-curl -i "http://&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?delegation=&lt;TOKEN&gt;&amp;op=..."
-    </source>
-  </li>
-</ol>
-    </section>
-<!-- ***************************************************************************** -->
-<!-- ***************************************************************************** -->
-    <section>
-      <title>File and Directory Operations</title>
-      <section id="CREATE">
-        <title>Create and Write to a File</title>
-<ul>
-  <li>Step 1: Submit a HTTP PUT request without automatically following redirects and without sending the file data.
-    <source>
-curl -i -X PUT "http://&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?op=CREATE
-                    [&amp;overwrite=&lt;true|false&gt;][&amp;blocksize=&lt;LONG&gt;][&amp;replication=&lt;SHORT&gt;]
-                    [&amp;permission=&lt;OCTAL&gt;][&amp;buffersize=&lt;INT&gt;]"
-    </source>
-The request is redirected to a datanode where the file data is to be written:
-    <source>
-HTTP/1.1 307 TEMPORARY_REDIRECT
-Location: http://&lt;DATANODE&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?op=CREATE...
-Content-Length: 0
-    </source>
-  </li>
-  <li>Step 2: Submit another HTTP PUT request using the URL in the <code>Location</code> header with the file data to be written.
-    <source>
-curl -i -X PUT -T &lt;LOCAL_FILE&gt; "http://&lt;DATANODE&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?op=CREATE..."
-    </source>
-The client receives a <code>201 Created</code> response with zero content length
-and the WebHDFS URI of the file in the <code>Location</code> header:
-    <source>
-HTTP/1.1 201 Created
-Location: webhdfs://&lt;HOST&gt;:&lt;PORT&gt;/&lt;PATH&gt;
-Content-Length: 0
-    </source>
-  </li>
-</ul>
-<p>
-  <strong>Note</strong> that the reason of having two-step create/append is
-  for preventing clients to send out data before the redirect.
-  This issue is addressed by the "<code>Expect: 100-continue</code>" header in HTTP/1.1;
-  see <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec8.2.3">RFC 2616, Section 8.2.3</a>.
-  Unfortunately, there are software library bugs (e.g. Jetty 6 HTTP server and Java 6 HTTP client),
-  which do not correctly implement "<code>Expect: 100-continue</code>".
-  The two-step create/append is a temporary workaround for the software library bugs.
-</p>
-<p>
-  See also:
-  <a href="#overwrite"><code>overwrite</code></a>,
-  <a href="#blocksize"><code>blocksize</code></a>,
-  <a href="#replication"><code>replication</code></a>,
-  <a href="#permission"><code>permission</code></a>,
-  <a href="#buffersize"><code>buffersize</code></a>,
-  <a href="ext:api/org/apache/hadoop/fs/filesystem/create">FileSystem.create</a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="APPEND">
-        <title>Append to a File</title>
-<ul>
-  <li>Step 1: Submit a HTTP POST request without automatically following redirects and without sending the file data.
-    <source>
-curl -i -X POST "http://&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?op=APPEND[&amp;buffersize=&lt;INT&gt;]"
-    </source>
-The request is redirected to a datanode where the file data is to be appended:
-    <source>
-HTTP/1.1 307 TEMPORARY_REDIRECT
-Location: http://&lt;DATANODE&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?op=APPEND...
-Content-Length: 0
-    </source>
-  </li>
-  <li>Step 2: Submit another HTTP POST request using the URL in the <code>Location</code> header with the file data to be appended.
-    <source>
-curl -i -X POST -T &lt;LOCAL_FILE&gt; "http://&lt;DATANODE&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?op=APPEND..."
-    </source>
-The client receives a response with zero content length:
-    <source>
-HTTP/1.1 200 OK
-Content-Length: 0
-    </source>
-  </li>
-</ul>
-<p><em>
-  See the note in the previous section for the description of why this operation requires two steps.
-</em></p>
-<p>
-  See also:
-  <a href="#buffersize"><code>buffersize</code></a>,
-  <a href="ext:api/org/apache/hadoop/fs/filesystem/append">FileSystem.append</a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="OPEN">
-        <title>Open and Read a File</title>
-<ul>
-  <li>Submit a HTTP GET request with automatically following redirects.
-    <source>
-curl -i -L "http://&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?op=OPEN
-                    [&amp;offset=&lt;LONG&gt;][&amp;length=&lt;LONG&gt;][&amp;buffersize=&lt;INT&gt;]"
-    </source>
-The request is redirected to a datanode where the file data can be read:
-    <source>
-HTTP/1.1 307 TEMPORARY_REDIRECT
-Location: http://&lt;DATANODE&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?op=OPEN...
-Content-Length: 0
-    </source>
-The client follows the redirect to the datanode and receives the file data:
-    <source>
-HTTP/1.1 200 OK
-Content-Type: application/octet-stream
-Content-Length: 22
-
-Hello, webhdfs user!
-    </source>
-  </li>
-</ul>
-<p>
-  See also:
-  <a href="#offset"><code>offset</code></a>,
-  <a href="#length"><code>length</code></a>,
-  <a href="#buffersize"><code>buffersize</code></a>,
-  <a href="ext:api/org/apache/hadoop/fs/filesystem/open">FileSystem.open</a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="MKDIRS">
-        <title>Make a Directory</title>
-<ul>
-  <li>Submit a HTTP PUT request.
-    <source>
-        curl -i -X PUT "http://&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?op=MKDIRS[&amp;permission=&lt;OCTAL&gt;]"
-    </source>
-The client receives a response with a <a href="#boolean"><code>boolean</code> JSON object</a>:
-    <source>
-HTTP/1.1 200 OK
-Content-Type: application/json
-Transfer-Encoding: chunked
-
-{"boolean": true}
-    </source>
-  </li>
-</ul>
-<p>
-  See also:
-  <a href="#permission"><code>permission</code></a>,
-  <a href="ext:api/org/apache/hadoop/fs/filesystem/mkdirs">FileSystem.mkdirs</a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="RENAME">
-        <title>Rename a File/Directory</title>
-<ul>
-  <li>Submit a HTTP PUT request.
-    <source>
-curl -i -X PUT "&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?op=RENAME&amp;destination=&lt;PATH&gt;"
-    </source>
-The client receives a response with a <a href="#boolean"><code>boolean</code> JSON object</a>:
-    <source>
-HTTP/1.1 200 OK
-Content-Type: application/json
-Transfer-Encoding: chunked
-
-{"boolean": true}
-    </source>
-  </li>
-</ul>
-<p>
-  See also:
-  <a href="#destination"><code>destination</code></a>,
-  <a href="ext:api/org/apache/hadoop/fs/filesystem/rename">FileSystem.rename</a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="DELETE">
-        <title>Delete a File/Directory</title>
-<ul>
-  <li>Submit a HTTP DELETE request.
-    <source>
-curl -i -X DELETE "http://&lt;host&gt;:&lt;port&gt;/webhdfs/v1/&lt;path&gt;?op=DELETE
-                              [&amp;recursive=&lt;true|false&gt;]"
-    </source>
-The client receives a response with a <a href="#boolean"><code>boolean</code> JSON object</a>:
-    <source>
-HTTP/1.1 200 OK
-Content-Type: application/json
-Transfer-Encoding: chunked
-
-{"boolean": true}
-    </source>
-  </li>
-</ul>
-<p>
-  See also:
-  <a href="#recursive"><code>recursive</code></a>,
-  <a href="ext:api/org/apache/hadoop/fs/filesystem/delete">FileSystem.delete</a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="GETFILESTATUS">
-        <title>Status of a File/Directory</title>
-<ul>
-  <li>Submit a HTTP GET request.
-    <source>
-curl -i  "http://&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?op=GETFILESTATUS"
-    </source>
-The client receives a response with a <a href="#FileStatus"><code>FileStatus</code> JSON object</a>:
-    <source>
-HTTP/1.1 200 OK
-Content-Type: application/json
-Transfer-Encoding: chunked
-
-{
-  "FileStatus":
-  {
-    "accessTime"      : 0,
-    "blockSize"       : 0,
-    "group"           : "supergroup",
-    "length"          : 0,             //in bytes, zero for directories
-    "modificationTime": 1320173277227,
-    "owner"           : "webuser",
-    "pathSuffix"      : "",
-    "permission"      : "777",
-    "replication"     : 0,
-    "type"            : "DIRECTORY"    //enum {FILE, DIRECTORY, SYMLINK}
-  }
-}
-    </source>
-  </li>
-</ul>
-<p>
-  See also:
-  <a href="ext:api/org/apache/hadoop/fs/filesystem/getFileStatus">FileSystem.getFileStatus</a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="LISTSTATUS">
-        <title>List a Directory</title>
-<ul>
-  <li>Submit a HTTP GET request.
-    <source>
-curl -i  "http://&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?op=LISTSTATUS"
-    </source>
-The client receives a response with a <a href="#FileStatuses"><code>FileStatuses</code> JSON object</a>:
-    <source>
-HTTP/1.1 200 OK
-Content-Type: application/json
-Content-Length: 427
-
-{
-  "FileStatuses":
-  {
-    "FileStatus":
-    [
-      {
-        "accessTime"      : 1320171722771,
-        "blockSize"       : 33554432,
-        "group"           : "supergroup",
-        "length"          : 24930,
-        "modificationTime": 1320171722771,
-        "owner"           : "webuser",
-        "pathSuffix"      : "a.patch",
-        "permission"      : "644",
-        "replication"     : 1,
-        "type"            : "FILE"
-      },
-      {
-        "accessTime"      : 0,
-        "blockSize"       : 0,
-        "group"           : "supergroup",
-        "length"          : 0,
-        "modificationTime": 1320895981256,
-        "owner"           : "szetszwo",
-        "pathSuffix"      : "bar",
-        "permission"      : "711",
-        "replication"     : 0,
-        "type"            : "DIRECTORY"
-      },
-      ...
-    ]
-  }
-}
-    </source>
-  </li>
-</ul>
-<p>
-  See also:
-  <a href="ext:api/org/apache/hadoop/fs/filesystem/listStatus">FileSystem.listStatus</a>
-</p>
-      </section>
-    </section>
-<!-- ***************************************************************************** -->
-<!-- ***************************************************************************** -->
-    <section>
-      <title>Other File System Operations</title>
-      <section id="GETCONTENTSUMMARY">
-        <title>Get Content Summary of a Directory</title>
-<ul>
-  <li>Submit a HTTP GET request.
-    <source>
-curl -i "http://&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?op=GETCONTENTSUMMARY"
-    </source>
-The client receives a response with a <a href="#ContentSummary"><code>ContentSummary</code> JSON object</a>:
-    <source>
-HTTP/1.1 200 OK
-Content-Type: application/json
-Transfer-Encoding: chunked
-
-{
-  "ContentSummary":
-  {
-    "directoryCount": 2,
-    "fileCount"     : 1,
-    "length"        : 24930,
-    "quota"         : -1,
-    "spaceConsumed" : 24930,
-    "spaceQuota"    : -1
-  }
-}
-    </source>
-  </li>
-</ul>
-<p>
-  See also:
-  <a href="ext:api/org/apache/hadoop/fs/filesystem/getContentSummary">FileSystem.getContentSummary</a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="GETFILECHECKSUM">
-        <title>Get File Checksum</title>
-<ul>
-  <li>Submit a HTTP GET request.
-    <source>
-curl -i "http://&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?op=GETFILECHECKSUM"
-    </source>
-The request is redirected to a datanode:
-    <source>
-HTTP/1.1 307 TEMPORARY_REDIRECT
-Location: http://&lt;DATANODE&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?op=GETFILECHECKSUM...
-Content-Length: 0
-    </source>
-The client follows the redirect to the datanode and receives a <a href="#FileChecksum"><code>FileChecksum</code> JSON object</a>:
-    <source>
-HTTP/1.1 200 OK
-Content-Type: application/json
-Transfer-Encoding: chunked
-
-{
-  "FileChecksum":
-  {
-    "algorithm": "MD5-of-1MD5-of-512CRC32",
-    "bytes"    : "eadb10de24aa315748930df6e185c0d ...",
-    "length"   : 28
-  }
-}
-    </source>
-  </li>
-</ul>
-<p>
-  See also:
-  <a href="ext:api/org/apache/hadoop/fs/filesystem/getFileChecksum">FileSystem.getFileChecksum</a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="GETHOMEDIRECTORY">
-        <title>Get Home Directory</title>
-<ul>
-  <li>Submit a HTTP GET request.
-    <source>
-curl -i "http://&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/?op=GETHOMEDIRECTORY"
-    </source>
-The client receives a response with a <a href="#Path"><code>Path</code> JSON object</a>:
-    <source>
-HTTP/1.1 200 OK
-Content-Type: application/json
-Transfer-Encoding: chunked
-
-{"Path": "/user/szetszwo"}
-    </source>
-  </li>
-</ul>
-<p>
-  See also:
-  <a href="ext:api/org/apache/hadoop/fs/filesystem/getHomeDirectory">FileSystem.getHomeDirectory</a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="SETPERMISSION">
-        <title>Set Permission</title>
-<ul>
-  <li>Submit a HTTP PUT request.
-    <source>
-curl -i -X PUT "http://&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?op=SETPERMISSION
-                              [&amp;permission=&lt;OCTAL&gt;]"
-    </source>
-The client receives a response with zero content length:
-    <source>
-HTTP/1.1 200 OK
-Content-Length: 0
-    </source>
-  </li>
-</ul>
-<p>
-  See also:
-  <a href="#permission"><code>permission</code></a>,
-  <a href="ext:api/org/apache/hadoop/fs/filesystem/setPermission">FileSystem.setPermission</a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="SETOWNER">
-        <title>Set Owner</title>
-<ul>
-  <li>Submit a HTTP PUT request.
-    <source>
-curl -i -X PUT "http://&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?op=SETOWNER
-                              [&amp;owner=&lt;USER&gt;][&amp;group=&lt;GROUP&gt;]"
-    </source>
-The client receives a response with zero content length:
-    <source>
-HTTP/1.1 200 OK
-Content-Length: 0
-    </source>
-  </li>
-</ul>
-<p>
-  See also:
-  <a href="#owner"><code>owner</code></a>,
-  <a href="#group"><code>group</code></a>,
-  <a href="ext:api/org/apache/hadoop/fs/filesystem/setOwner">FileSystem.setOwner</a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="SETREPLICATION">
-        <title>Set Replication Factor</title>
-<ul>
-  <li>Submit a HTTP PUT request.
-    <source>
-curl -i -X PUT "http://&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?op=SETREPLICATION
-                              [&amp;replication=&lt;SHORT&gt;]"
-    </source>
-The client receives a response with a <a href="#boolean"><code>boolean</code> JSON object</a>:
-    <source>
-HTTP/1.1 200 OK
-Content-Type: application/json
-Transfer-Encoding: chunked
-
-{"boolean": true}
-    </source>
-  </li>
-</ul>
-<p>
-  See also:
-  <a href="#replication"><code>replication</code></a>,
-  <a href="ext:api/org/apache/hadoop/fs/filesystem/setReplication">FileSystem.setReplication</a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="SETTIMES">
-        <title>Set Access or Modification Time</title>
-<ul>
-  <li>Submit a HTTP PUT request.
-    <source>
-curl -i -X PUT "http://&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/&lt;PATH&gt;?op=SETTIMES
-                              [&amp;modificationtime=&lt;TIME&gt;][&amp;accesstime=&lt;TIME&gt;]"
-    </source>
-The client receives a response with zero content length:
-    <source>
-HTTP/1.1 200 OK
-Content-Length: 0
-    </source>
-  </li>
-</ul>
-<p>
-  See also:
-  <a href="#modificationtime"><code>modificationtime</code></a>,
-  <a href="#accesstime"><code>accesstime</code></a>,
-  <a href="ext:api/org/apache/hadoop/fs/filesystem/setTimes">FileSystem.setTimes</a>
-</p>
-      </section>
-    </section>
-<!-- ***************************************************************************** -->
-<!-- ***************************************************************************** -->
-    <section>
-      <title>Delegation Token Operations</title>
-      <section id="GETDELEGATIONTOKEN">
-        <title>Get Delegation Token</title>
-<ul>
-  <li>Submit a HTTP GET request.
-    <source>
-curl -i "http://&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/?op=GETDELEGATIONTOKEN&amp;renewer=&lt;USER&gt;"
-    </source>
-The client receives a response with a <a href="#Token"><code>Token</code> JSON object</a>:
-    <source>
-HTTP/1.1 200 OK
-Content-Type: application/json
-Transfer-Encoding: chunked
-
-{
-  "Token":
-  {
-    "urlString": "JQAIaG9y..."
-  }
-}
-    </source>
-  </li>
-</ul>
-<p>
-  See also:
-  <a href="#renewer"><code>renewer</code></a>,
-  <a href="ext:api/org/apache/hadoop/fs/filesystem/getDelegationToken">FileSystem.getDelegationToken</a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="RENEWDELEGATIONTOKEN">
-        <title>Renew Delegation Token</title>
-<ul>
-  <li>Submit a HTTP PUT request.
-    <source>
-curl -i -X PUT "http://&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/?op=RENEWDELEGATIONTOKEN&amp;token=&lt;TOKEN&gt;"
-    </source>
-The client receives a response with a <a href="#long"><code>long</code> JSON object</a>:
-    <source>
-HTTP/1.1 200 OK
-Content-Type: application/json
-Transfer-Encoding: chunked
-
-{"long": 1320962673997}           //the new expiration time
-    </source>
-  </li>
-</ul>
-<p>
-  See also:
-  <a href="#token"><code>token</code></a>,
-  DistributedFileSystem.renewDelegationToken
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="CANCELDELEGATIONTOKEN">
-        <title>Cancel Delegation Token</title>
-<ul>
-  <li>Submit a HTTP PUT request.
-    <source>
-curl -i -X PUT "http://&lt;HOST&gt;:&lt;PORT&gt;/webhdfs/v1/?op=CANCELDELEGATIONTOKEN&amp;token=&lt;TOKEN&gt;"
-    </source>
-The client receives a response with zero content length:
-    <source>
-HTTP/1.1 200 OK
-Content-Length: 0
-    </source>
-  </li>
-</ul>
-<p>
-  See also:
-  <a href="#token"><code>token</code></a>,
-  DistributedFileSystem.cancelDelegationToken
-</p>
-      </section>
-    </section>
-<!-- ***************************************************************************** -->
-<!-- ***************************************************************************** -->
-    <section>
-      <title>Error Responses</title>
-<p>
-  When an operation fails, the server may throw an exception.
-  The JSON schema of error responses is defined in <a href="#RemoteException"><code>RemoteException</code> JSON schema</a>.
-  The table below shows the mapping from exceptions to HTTP response codes.
-</p>
-      <section>
-        <title>HTTP Response Codes</title>
-<table>
-<tr><th>Exceptions</th><th>HTTP Response Codes</th></tr>
-<tr><td><code>IllegalArgumentException     </code></td><td><code>400 Bad Request          </code></td></tr>
-<tr><td><code>UnsupportedOperationException</code></td><td><code>400 Bad Request          </code></td></tr>
-<tr><td><code>SecurityException            </code></td><td><code>401 Unauthorized         </code></td></tr>
-<tr><td><code>IOException                  </code></td><td><code>403 Forbidden            </code></td></tr>
-<tr><td><code>FileNotFoundException        </code></td><td><code>404 Not Found            </code></td></tr>
-<tr><td><code>RumtimeException             </code></td><td><code>500 Internal Server Error</code></td></tr>
-</table>
-<p>
-  Below are examples of exception responses.
-</p>
-<!-- ***************************************************************************** -->
-        <section>
-          <title>Illegal Argument Exception</title>
-<source>
-HTTP/1.1 400 Bad Request
-Content-Type: application/json
-Transfer-Encoding: chunked
-
-{
-  "RemoteException":
-  {
-    "exception"    : "IllegalArgumentException",
-    "javaClassName": "java.lang.IllegalArgumentException",
-    "message"      : "Invalid value for webhdfs parameter \"permission\": ..."
-  }
-}
-</source>
-        </section>
-<!-- ***************************************************************************** -->
-        <section>
-          <title>Security Exception</title>
-<source>
-HTTP/1.1 401 Unauthorized
-Content-Type: application/json
-Transfer-Encoding: chunked
-
-{
-  "RemoteException":
-  {
-    "exception"    : "SecurityException",
-    "javaClassName": "java.lang.SecurityException",
-    "message"      : "Failed to obtain user group information: ..."
-  }
-}
-</source>
-        </section>
-<!-- ***************************************************************************** -->
-        <section>
-          <title>Access Control Exception</title>
-<source>
-HTTP/1.1 403 Forbidden
-Content-Type: application/json
-Transfer-Encoding: chunked
-
-{
-  "RemoteException":
-  {
-    "exception"    : "AccessControlException",
-    "javaClassName": "org.apache.hadoop.security.AccessControlException",
-    "message"      : "Permission denied: ..."
-  }
-}
-</source>
-        </section>
-<!-- ***************************************************************************** -->
-        <section>
-          <title>File Not Found Exception</title>
-<source>
-HTTP/1.1 404 Not Found
-Content-Type: application/json
-Transfer-Encoding: chunked
-
-{
-  "RemoteException":
-  {
-    "exception"    : "FileNotFoundException",
-    "javaClassName": "java.io.FileNotFoundException",
-    "message"      : "File does not exist: /foo/a.patch"
-  }
-}
-</source>
-        </section>
-      </section>
-    </section>
-<!-- ***************************************************************************** -->
-<!-- ***************************************************************************** -->
-    <section>
-      <title>JSON Schemas</title>
-<p>
-All operations, except for <a href="#OPEN"><code>OPEN</code></a>,
-either return a zero-length response or a JSON response .
-For <a href="#OPEN"><code>OPEN</code></a>, the response is an octet-stream.
-The JSON schemas are shown below.
-See <a href="http://tools.ietf.org/id/draft-zyp-json-schema-03.html">draft-zyp-json-schema-03</a>
-for the syntax definitions of the JSON schemas.
-</p>
-      <section id="boolean">
-        <title>Boolean JSON Schema</title>
-<source>
-{
-  "name"      : "boolean",
-  "properties":
-  {
-    "boolean":
-    {
-      "description": "A boolean value",
-      "type"       : "boolean",
-      "required"   : true
-    }
-  }
-}
-</source>
-<p>
-  See also:
-  <a href="#MKDIRS"><code>MKDIRS</code></a>,
-  <a href="#RENAME"><code>RENAME</code></a>,
-  <a href="#DELETE"><code>DELETE</code></a>,
-  <a href="#SETREPLICATION"><code>SETREPLICATION</code></a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="ContentSummary">
-        <title>ContentSummary JSON Schema</title>
-<source>
-{
-  "name"      : "ContentSummary",
-  "properties":
-  {
-    "ContentSummary":
-    {
-      "type"      : "object",
-      "properties":
-      {
-        "directoryCount":
-        {
-          "description": "The number of directories.",
-          "type"       : "integer",
-          "required"   : true
-        },
-        "fileCount":
-        {
-          "description": "The number of files.",
-          "type"       : "integer",
-          "required"   : true
-        },
-        "length":
-        {
-          "description": "The number of bytes used by the content.",
-          "type"       : "integer",
-          "required"   : true
-        },
-        "quota":
-        {
-          "description": "The namespace quota of this directory.",
-          "type"       : "integer",
-          "required"   : true
-        },
-        "spaceConsumed":
-        {
-          "description": "The disk space consumed by the content.",
-          "type"       : "integer",
-          "required"   : true
-        },
-        "spaceQuota":
-        {
-          "description": "The disk space quota.",
-          "type"       : "integer",
-          "required"   : true
-        }
-      }
-    }
-  }
-}
-</source>
-<p>
-  See also:
-  <a href="#GETCONTENTSUMMARY"><code>GETCONTENTSUMMARY</code></a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="FileChecksum">
-        <title>FileChecksum JSON Schema</title>
-<source>
-{
-  "name"      : "FileChecksum",
-  "properties":
-  {
-    "FileChecksum":
-    {
-      "type"      : "object",
-      "properties":
-      {
-        "algorithm":
-        {
-          "description": "The name of the checksum algorithm.",
-          "type"       : "string",
-          "required"   : true
-        },
-        "bytes":
-        {
-          "description": "The byte sequence of the checksum in hexadecimal.",
-          "type"       : "string",
-          "required"   : true
-        },
-        "length":
-        {
-          "description": "The length of the bytes (not the length of the string).",
-          "type"       : "integer",
-          "required"   : true
-        }
-      }
-    }
-  }
-}
-</source>
-<p>
-  See also:
-  <a href="#GETFILECHECKSUM"><code>GETFILECHECKSUM</code></a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="FileStatus">
-        <title>FileStatus JSON Schema</title>
-<source>
-{
-  "name"      : "FileStatus",
-  "properties":
-  {
-    "FileStatus": fileStatusProperties      //See <a href="#fileStatusProperties">FileStatus Properties</a>
-  }
-}
-</source>
-<p>
-  See also:
-  <a href="#GETFILESTATUS"><code>GETFILESTATUS</code></a>,
-  <a href="ext:api/org/apache/hadoop/fs/FileStatus">FileStatus</a>
-</p>
-      <section id="fileStatusProperties">
-        <title>FileStatus Properties</title>
-<p>
-  JavaScript syntax is used to define <code>fileStatusProperties</code>
-  so that it can be referred in both <code>FileStatus</code> and <code>FileStatuses</code> JSON schemas.
-</p>
-<source>
-var fileStatusProperties =
-{
-  "type"      : "object",
-  "properties":
-  {
-    "accessTime":
-    {
-      "description": "The access time.",
-      "type"       : "integer",
-      "required"   : true
-    },
-    "blockSize":
-    {
-      "description": "The block size of a file.",
-      "type"       : "integer",
-      "required"   : true
-    },
-    "group":
-    {
-      "description": "The group owner.",
-      "type"       : "string",
-      "required"   : true
-    },
-    "length":
-    {
-      "description": "The number of bytes in a file.",
-      "type"       : "integer",
-      "required"   : true
-    },
-    "modificationTime":
-    {
-      "description": "The modification time.",
-      "type"       : "integer",
-      "required"   : true
-    },
-    "owner":
-    {
-      "description": "The user who is the owner.",
-      "type"       : "string",
-      "required"   : true
-    },
-    "pathSuffix":
-    {
-      "description": "The path suffix.",
-      "type"       : "string",
-      "required"   : true
-    },
-    "permission":
-    {
-      "description": "The permission represented as a octal string.",
-      "type"       : "string",
-      "required"   : true
-    },
-    "replication":
-    {
-      "description": "The number of replication of a file.",
-      "type"       : "integer",
-      "required"   : true
-    },
-   "symlink":                                         //an optional property
-    {
-      "description": "The link target of a symlink.",
-      "type"       : "string"
-    },
-   "type":
-    {
-      "description": "The type of the path object.",
-      "enum"       : ["FILE", "DIRECTORY", "SYMLINK"],
-      "required"   : true
-    }
-  }
-};
-</source>
-        </section>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="FileStatuses">
-        <title>FileStatuses JSON Schema</title>
-<p>
-  A <code>FileStatuses</code> JSON object represents an array of <code>FileStatus</code> JSON objects.
-</p>
-<source>
-{
-  "name"      : "FileStatuses",
-  "properties":
-  {
-    "FileStatuses":
-    {
-      "type"      : "object",
-      "properties":
-      {
-        "FileStatus":
-        {
-          "description": "An array of FileStatus",
-          "type"       : "array",
-          "items"      : fileStatusProperties      //See <a href="#fileStatusProperties">FileStatus Properties</a>
-        }
-      }
-    }
-  }
-}
-</source>
-<p>
-  See also:
-  <a href="#LISTSTATUS"><code>LISTSTATUS</code></a>,
-  <a href="ext:api/org/apache/hadoop/fs/FileStatus">FileStatus</a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="long">
-        <title>Long JSON Schema</title>
-<source>
-{
-  "name"      : "long",
-  "properties":
-  {
-    "long":
-    {
-      "description": "A long integer value",
-      "type"       : "integer",
-      "required"   : true
-    }
-  }
-}
-</source>
-<p>
-  See also:
-  <a href="#RENEWDELEGATIONTOKEN"><code>RENEWDELEGATIONTOKEN</code></a>,
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="Path">
-        <title>Path JSON Schema</title>
-<source>
-{
-  "name"      : "Path",
-  "properties":
-  {
-    "Path":
-    {
-      "description": "The string representation a Path.",
-      "type"       : "string",
-      "required"   : true
-    }
-  }
-}
-</source>
-<p>
-  See also:
-  <a href="#GETHOMEDIRECTORY"><code>GETHOMEDIRECTORY</code></a>,
-  <a href="ext:api/org/apache/hadoop/fs/Path">Path</a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="RemoteException">
-        <title>RemoteException JSON Schema</title>
-<source>
-{
-  "name"      : "RemoteException",
-  "properties":
-  {
-    "RemoteException":
-    {
-      "type"      : "object",
-      "properties":
-      {
-        "exception":
-        {
-          "description": "Name of the exception",
-          "type"       : "string",
-          "required"   : true
-        },
-        "message":
-        {
-          "description": "Exception message",
-          "type"       : "string",
-          "required"   : true
-        },
-        "javaClassName":                                     //an optional property
-        {
-          "description": "Java class name of the exception",
-          "type"       : "string",
-        }
-      }
-    }
-  }
-}
-</source>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="Token">
-        <title>Token JSON Schema</title>
-<source>
-{
-  "name"      : "Token",
-  "properties":
-  {
-    "Token":
-    {
-      "type"      : "object",
-      "properties":
-      {
-        "urlString":
-        {
-          "description": "A delegation token encoded as a URL safe string.",
-          "type"       : "string",
-          "required"   : true
-        }
-      }
-    }
-  }
-}
-</source>
-<p>
-  See also:
-  <a href="#GETDELEGATIONTOKEN"><code>GETDELEGATIONTOKEN</code></a>,
-  the note in <a href="#delegation">Delegation</a>.
-</p>
-      </section>
-    </section>
-<!-- ***************************************************************************** -->
-<!-- ***************************************************************************** -->
-    <section id="ParameterDictionary">
-      <title>HTTP Query Parameter Dictionary</title>
-      <section id="accesstime">
-        <title>Access Time</title>
-<table>
-  <tr><td>Name</td><td><code>accesstime</code></td></tr>
-  <tr><td>Description</td><td>The access time of a file/directory.</td></tr>
-  <tr><td>Type</td><td>long</td></tr>
-  <tr><td>Default Value</td><td>-1 (means keeping it unchanged)</td></tr>
-  <tr><td>Valid Values</td><td>-1 or a timestamp</td></tr>
-  <tr><td>Syntax</td><td>Any integer.</td></tr>
-</table>
-<p>
-  See also:
-  <a href="#SETTIMES"><code>SETTIMES</code></a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="blocksize">
-        <title>Block Size</title>
-<table>
-  <tr><td>Name</td><td><code>blocksize</code></td></tr>
-  <tr><td>Description</td><td>The block size of a file.</td></tr>
-  <tr><td>Type</td><td>long</td></tr>
-  <tr><td>Default Value</td><td>Specified in the configuration.</td></tr>
-  <tr><td>Valid Values</td><td>&gt; 0</td></tr>
-  <tr><td>Syntax</td><td>Any integer.</td></tr>
-</table>
-<p>
-  See also:
-  <a href="#CREATE"><code>CREATE</code></a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="buffersize">
-        <title>Buffer Size</title>
-<table>
-  <tr><td>Name</td><td><code>buffersize</code></td></tr>
-  <tr><td>Description</td><td>The size of the buffer used in transferring data.</td></tr>
-  <tr><td>Type</td><td>int</td></tr>
-  <tr><td>Default Value</td><td>Specified in the configuration.</td></tr>
-  <tr><td>Valid Values</td><td>&gt; 0</td></tr>
-  <tr><td>Syntax</td><td>Any integer.</td></tr>
-</table>
-<p>
-  See also:
-  <a href="#CREATE"><code>CREATE</code></a>,
-  <a href="#APPEND"><code>APPEND</code></a>,
-  <a href="#OPEN"><code>OPEN</code></a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="delegation">
-        <title>Delegation</title>
-<table>
-  <tr><td>Name</td><td><code>delegation</code></td></tr>
-  <tr><td>Description</td><td>The delegation token used for authentication.</td></tr>
-  <tr><td>Type</td><td>String</td></tr>
-  <tr><td>Default Value</td><td>&lt;empty&gt;</td></tr>
-  <tr><td>Valid Values</td><td>An encoded token.</td></tr>
-  <tr><td>Syntax</td><td>See the note below.</td></tr>
-</table>
-<p>
-  <strong>Note</strong> that delegation tokens are encoded as a URL safe string;
-  see <code>encodeToUrlString()</code>
-  and <code>decodeFromUrlString(String)</code>
-  in <code>org.apache.hadoop.security.token.Token</code> for the details of the encoding.
-</p>
-<p>
-  See also:
-  <a href="#Authentication">Authentication</a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="destination">
-        <title>Destination</title>
-<table>
-  <tr><td>Name</td><td><code>destination</code></td></tr>
-  <tr><td>Description</td><td>The destination path used in <a href="#RENAME">RENAME</a>.</td></tr>
-  <tr><td>Type</td><td>Path</td></tr>
-  <tr><td>Default Value</td><td>&lt;empty&gt; (an invalid path)</td></tr>
-  <tr><td>Valid Values</td><td>An absolute FileSystem path without scheme and authority.</td></tr>
-  <tr><td>Syntax</td><td>Any path.</td></tr>
-</table>
-<p>
-  See also:
-  <a href="#RENAME"><code>RENAME</code></a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="doas">
-        <title>Do As</title>
-<table>
-  <tr><td>Name</td><td><code>doas</code></td></tr>
-  <tr><td>Description</td><td>Allowing a proxy user to do as another user.</td></tr>
-  <tr><td>Type</td><td>String</td></tr>
-  <tr><td>Default Value</td><td>null</td></tr>
-  <tr><td>Valid Values</td><td>Any valid username.</td></tr>
-  <tr><td>Syntax</td><td>Any string.</td></tr>
-</table>
-<p>
-  See also:
-  <a href="#ProxyUsers">Proxy Users</a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="group">
-        <title>Group</title>
-<table>
-  <tr><td>Name</td><td><code>group</code></td></tr>
-  <tr><td>Description</td><td>The name of a group.</td></tr>
-  <tr><td>Type</td><td>String</td></tr>
-  <tr><td>Default Value</td><td>&lt;empty&gt; (means keeping it unchanged)</td></tr>
-  <tr><td>Valid Values</td><td>Any valid group name.</td></tr>
-  <tr><td>Syntax</td><td>Any string.</td></tr>
-</table>
-<p>
-  See also:
-  <a href="#SETOWNER"><code>SETOWNER</code></a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="length">
-        <title>Length</title>
-<table>
-  <tr><td>Name</td><td><code>length</code></td></tr>
-  <tr><td>Description</td><td>The number of bytes to be processed.</td></tr>
-  <tr><td>Type</td><td>long</td></tr>
-  <tr><td>Default Value</td><td>null (means the entire file)</td></tr>
-  <tr><td>Valid Values</td><td>&gt;= 0 or null</td></tr>
-  <tr><td>Syntax</td><td>Any integer.</td></tr>
-</table>
-<p>
-  See also:
-  <a href="#OPEN"><code>OPEN</code></a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="modificationtime">
-        <title>Modification Time</title>
-<table>
-  <tr><td>Name</td><td><code>modificationtime</code></td></tr>
-  <tr><td>Description</td><td>The modification time of a file/directory.</td></tr>
-  <tr><td>Type</td><td>long</td></tr>
-  <tr><td>Default Value</td><td>-1 (means keeping it unchanged)</td></tr>
-  <tr><td>Valid Values</td><td>-1 or a timestamp</td></tr>
-  <tr><td>Syntax</td><td>Any integer.</td></tr>
-</table>
-<p>
-  See also:
-  <a href="#SETTIMES"><code>SETTIMES</code></a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="offset">
-        <title>Offset</title>
-<table>
-  <tr><td>Name</td><td><code>offset</code></td></tr>
-  <tr><td>Description</td><td>The starting byte position.</td></tr>
-  <tr><td>Type</td><td>long</td></tr>
-  <tr><td>Default Value</td><td>0</td></tr>
-  <tr><td>Valid Values</td><td>&gt;= 0</td></tr>
-  <tr><td>Syntax</td><td>Any integer.</td></tr>
-</table>
-<p>
-  See also:
-  <a href="#OPEN"><code>OPEN</code></a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="op">
-        <title>Op</title>
-<table>
-  <tr><td>Name</td><td><code>op</code></td></tr>
-  <tr><td>Description</td><td>The name of the operation to be executed.</td></tr>
-  <tr><td>Type</td><td>enum</td></tr>
-  <tr><td>Default Value</td><td>null (an invalid value)</td></tr>
-  <tr><td>Valid Values</td><td>Any valid operation name.</td></tr>
-  <tr><td>Syntax</td><td>Any string.</td></tr>
-</table>
-<p>
-  See also:
-  <a href="#Operations">Operations</a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="overwrite">
-        <title>Overwrite</title>
-<table>
-  <tr><td>Name</td><td><code>overwrite</code></td></tr>
-  <tr><td>Description</td><td>If a file already exists, should it be overwritten?</td></tr>
-  <tr><td>Type</td><td>boolean</td></tr>
-  <tr><td>Default Value</td><td>false</td></tr>
-  <tr><td>Valid Values</td><td>true | false</td></tr>
-  <tr><td>Syntax</td><td>true | false</td></tr>
-</table>
-<p>
-  See also:
-  <a href="#CREATE"><code>CREATE</code></a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="owner">
-        <title>Owner</title>
-<table>
-  <tr><td>Name</td><td><code>owner</code></td></tr>
-  <tr><td>Description</td><td>The username who is the owner of a file/directory.</td></tr>
-  <tr><td>Type</td><td>String</td></tr>
-  <tr><td>Default Value</td><td>&lt;empty&gt; (means keeping it unchanged)</td></tr>
-  <tr><td>Valid Values</td><td>Any valid username.</td></tr>
-  <tr><td>Syntax</td><td>Any string.</td></tr>
-</table>
-<p>
-  See also:
-  <a href="#SETOWNER"><code>SETOWNER</code></a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="permission">
-        <title>Permission</title>
-<table>
-  <tr><td>Name</td><td><code>permission</code></td></tr>
-  <tr><td>Description</td><td>The permission of a file/directory.</td></tr>
-  <tr><td>Type</td><td>Octal</td></tr>
-  <tr><td>Default Value</td><td>755</td></tr>
-  <tr><td>Valid Values</td><td>0 - 1777</td></tr>
-  <tr><td>Syntax</td><td>Any radix-8 integer (leading zeros may be omitted.)</td></tr>
-</table>
-<p>
-  See also:
-  <a href="#CREATE"><code>CREATE</code></a>,
-  <a href="#MKDIRS"><code>MKDIRS</code></a>,
-  <a href="#SETPERMISSION"><code>SETPERMISSION</code></a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="recursive">
-        <title>Recursive</title>
-<table>
-  <tr><td>Name</td><td><code>recursive</code></td></tr>
-  <tr><td>Description</td><td>Should the operation act on the content in the subdirectories?</td></tr>
-  <tr><td>Type</td><td>boolean</td></tr>
-  <tr><td>Default Value</td><td>false</td></tr>
-  <tr><td>Valid Values</td><td>true | false</td></tr>
-  <tr><td>Syntax</td><td>true | false</td></tr>
-</table>
-<p>
-  See also:
-  <a href="#RENAME"><code>RENAME</code></a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="renewer">
-        <title>Renewer</title>
-<table>
-  <tr><td>Name</td><td><code>renewer</code></td></tr>
-  <tr><td>Description</td><td>The username of the renewer of a delegation token.</td></tr>
-  <tr><td>Type</td><td>String</td></tr>
-  <tr><td>Default Value</td><td>&lt;empty&gt; (means the current user)</td></tr>
-  <tr><td>Valid Values</td><td>Any valid username.</td></tr>
-  <tr><td>Syntax</td><td>Any string.</td></tr>
-</table>
-<p>
-  See also:
-  <a href="#GETDELEGATIONTOKEN"><code>GETDELEGATIONTOKEN</code></a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="replication">
-        <title>Replication</title>
-<table>
-  <tr><td>Name</td><td><code>replication</code></td></tr>
-  <tr><td>Description</td><td>The number of replications of a file.</td></tr>
-  <tr><td>Type</td><td>short</td></tr>
-  <tr><td>Default Value</td><td>Specified in the configuration.</td></tr>
-  <tr><td>Valid Values</td><td>&gt; 0</td></tr>
-  <tr><td>Syntax</td><td>Any integer.</td></tr>
-</table>
-<p>
-  See also:
-  <a href="#CREATE"><code>CREATE</code></a>,
-  <a href="#SETREPLICATION"><code>SETREPLICATION</code></a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="token">
-        <title>Token</title>
-<table>
-  <tr><td>Name</td><td><code>token</code></td></tr>
-  <tr><td>Description</td><td>The delegation token used for the operation.</td></tr>
-  <tr><td>Type</td><td>String</td></tr>
-  <tr><td>Default Value</td><td>&lt;empty&gt;</td></tr>
-  <tr><td>Valid Values</td><td>An encoded token.</td></tr>
-  <tr><td>Syntax</td><td>See the note in <a href="#delegation">Delegation</a>.</td></tr>
-</table>
-<p>
-  See also:
-  <a href="#RENEWDELEGATIONTOKEN"><code>RENEWDELEGATIONTOKEN</code></a>,
-  <a href="#CANCELDELEGATIONTOKEN"><code>CANCELDELEGATIONTOKEN</code></a>
-</p>
-      </section>
-<!-- ***************************************************************************** -->
-      <section id="user.name">
-        <title>Username</title>
-<table>
-  <tr><td>Name</td><td><code>user.name</code></td></tr>
-  <tr><td>Description</td><td>The authenticated user; see <a href="#Authentication">Authentication</a>.</td></tr>
-  <tr><td>Type</td><td>String</td></tr>
-  <tr><td>Default Value</td><td>null</td></tr>
-  <tr><td>Valid Values</td><td>Any valid username.</td></tr>
-  <tr><td>Syntax</td><td>Any string.</td></tr>
-</table>
-<p>
-  See also:
-  <a href="#Authentication">Authentication</a>
-</p>
-      </section>
-    </section>
-  </body>
-</document>

BIN
hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/resources/images/FI-framework.gif


BIN
hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/resources/images/FI-framework.odg


BIN
hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/resources/images/architecture.gif


BIN
hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/resources/images/core-logo.gif


BIN
hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/resources/images/favicon.ico


BIN
hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/resources/images/hadoop-logo-big.jpg


BIN
hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/resources/images/hadoop-logo.jpg


BIN
hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/resources/images/request-identify.jpg


+ 0 - 366
hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/skinconf.xml

@@ -1,366 +0,0 @@
-<?xml version="1.0"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-
-<!--
-Skin configuration file. This file contains details of your project,
-which will be used to configure the chosen Forrest skin.
--->
-
-<!DOCTYPE skinconfig PUBLIC "-//APACHE//DTD Skin Configuration V0.6-3//EN" "http://forrest.apache.org/dtd/skinconfig-v06-3.dtd">
-<skinconfig>
-  <!-- To enable lucene search add provider="lucene" (default is google).
-    Add box-location="alt" to move the search box to an alternate location
-    (if the skin supports it) and box-location="all" to show it in all
-    available locations on the page.  Remove the <search> element to show
-    no search box. @domain will enable sitesearch for the specific domain with google.
-    In other words google will search the @domain for the query string.
-
-  -->
-  <search name="Lucene" domain="hadoop.apache.org" provider="google"/>
-
-  <!-- Disable the print link? If enabled, invalid HTML 4.0.1 -->
-  <disable-print-link>true</disable-print-link>  
-  <!-- Disable the PDF link? -->
-  <disable-pdf-link>false</disable-pdf-link>
-  <!-- Disable the POD link? -->
-  <disable-pod-link>true</disable-pod-link>
-  <!-- Disable the Text link? FIXME: NOT YET IMPLEMENETED. -->
-  <disable-txt-link>true</disable-txt-link>
-  <!-- Disable the xml source link? -->
-  <!-- The xml source link makes it possible to access the xml rendition
-    of the source frim the html page, and to have it generated statically.
-    This can be used to enable other sites and services to reuse the
-    xml format for their uses. Keep this disabled if you don't want other
-    sites to easily reuse your pages.-->
-  <disable-xml-link>true</disable-xml-link>
-
-  <!-- Disable navigation icons on all external links? -->
-  <disable-external-link-image>true</disable-external-link-image>
-
-  <!-- Disable w3c compliance links? 
-    Use e.g. align="center" to move the compliance links logos to 
-    an alternate location default is left.
-    (if the skin supports it) -->
-  <disable-compliance-links>true</disable-compliance-links>
-
-  <!-- Render mailto: links unrecognisable by spam harvesters? -->
-  <obfuscate-mail-links>false</obfuscate-mail-links>
-
-  <!-- Disable the javascript facility to change the font size -->
-  <disable-font-script>true</disable-font-script>
-
-  <!-- project logo -->
-  <project-name>Hadoop</project-name>
-  <project-description>Scalable Computing Platform</project-description>
-  <project-url>http://hadoop.apache.org/hdfs/</project-url>
-  <project-logo>images/hdfs-logo.jpg</project-logo>
-
-  <!-- group logo -->
-  <group-name>Hadoop</group-name>
-  <group-description>Apache Hadoop</group-description>
-  <group-url>http://hadoop.apache.org/</group-url>
-  <group-logo>images/hadoop-logo.jpg</group-logo>
-
-  <!-- optional host logo (e.g. sourceforge logo)
-       default skin: renders it at the bottom-left corner -->
-  <host-url></host-url>
-  <host-logo></host-logo>
-
-  <!-- relative url of a favicon file, normally favicon.ico -->
-  <favicon-url>images/favicon.ico</favicon-url>
-
-  <!-- The following are used to construct a copyright statement -->
-  <year>2010</year>
-  <vendor>The Apache Software Foundation.</vendor>
-  <copyright-link>http://www.apache.org/licenses/</copyright-link>
-
-  <!-- Some skins use this to form a 'breadcrumb trail' of links.
-    Use location="alt" to move the trail to an alternate location
-    (if the skin supports it).
-	  Omit the location attribute to display the trail in the default location.
-	  Use location="none" to not display the trail (if the skin supports it).
-    For some skins just set the attributes to blank.
-  -->
-  <trail>
-    <link1 name="Apache" href="http://www.apache.org/"/>
-    <link2 name="Hadoop" href="http://hadoop.apache.org/"/>
-    <link3 name="Core" href="http://hadoop.apache.org/core/"/>
-  </trail>
-
-  <!-- Configure the TOC, i.e. the Table of Contents.
-  @max-depth
-   how many "section" levels need to be included in the
-   generated Table of Contents (TOC). 
-  @min-sections
-   Minimum required to create a TOC.
-  @location ("page","menu","page,menu", "none")
-   Where to show the TOC.
-  -->
-  <toc max-depth="2" min-sections="1" location="page"/>
-
-  <!-- Heading types can be clean|underlined|boxed  -->
-  <headings type="clean"/>
-  
-  <!-- The optional feedback element will be used to construct a
-    feedback link in the footer with the page pathname appended:
-    <a href="@href">{@to}</a>
-  <feedback to="webmaster@foo.com"
-    href="mailto:webmaster@foo.com?subject=Feedback&#160;" >
-    Send feedback about the website to:
-  </feedback>
-    -->
-  <!--
-    extra-css - here you can define custom css-elements that are 
-    a. overriding the fallback elements or 
-    b. adding the css definition from new elements that you may have 
-       used in your documentation.
-    -->
-  <extra-css>
-    <!--Example of b. 
-        To define the css definition of a new element that you may have used
-        in the class attribute of a <p> node. 
-        e.g. <p class="quote"/>
-    -->
-    p.quote {
-      margin-left: 2em;
-      padding: .5em;
-      background-color: #f0f0f0;
-      font-family: monospace;
-    }
-    
-    <!--Headers -->
-	#content h1 {
-	  margin-bottom: .5em;
-	  font-size: 185%; color: black;
-	  font-family: arial;
-	}  
-    h2, .h3 { font-size: 175%; color: black; font-family: arial; }
-	h3, .h4 { font-size: 135%; color: black; font-family: arial; margin-bottom: 0.5em; }
-	h4, .h5 { font-size: 125%; color: black;  font-style: italic; font-weight: bold; font-family: arial; }
-	h5, h6 { font-size: 110%; color: #363636; font-weight: bold; }    
-   
-   <!--Code Background -->
-    pre.code {
-      margin-left: 0em;
-      padding: 0.5em;
-      background-color: rgb(241,239,231);
-      font-family: monospace;
-    }   
-    
-  </extra-css>
-
-  <colors>
-  <!-- These values are used for the generated CSS files. -->
-
-  <!-- Krysalis -->
-<!--
-    <color name="header"    value="#FFFFFF"/>
-
-    <color name="tab-selected" value="#a5b6c6" link="#000000" vlink="#000000" hlink="#000000"/>
-    <color name="tab-unselected" value="#F7F7F7"  link="#000000" vlink="#000000" hlink="#000000"/>
-    <color name="subtab-selected" value="#a5b6c6"  link="#000000" vlink="#000000" hlink="#000000"/>
-    <color name="subtab-unselected" value="#a5b6c6"  link="#000000" vlink="#000000" hlink="#000000"/>
-
-    <color name="heading" value="#a5b6c6"/>
-    <color name="subheading" value="#CFDCED"/>
-        
-    <color name="navstrip" value="#CFDCED" font="#000000" link="#000000" vlink="#000000" hlink="#000000"/>
-    <color name="toolbox" value="#a5b6c6"/>
-    <color name="border" value="#a5b6c6"/>
-        
-    <color name="menu" value="#F7F7F7" link="#000000" vlink="#000000" hlink="#000000"/>    
-    <color name="dialog" value="#F7F7F7"/>
-            
-    <color name="body"    value="#ffffff" link="#0F3660" vlink="#009999" hlink="#000066"/>
-    
-    <color name="table" value="#a5b6c6"/>    
-    <color name="table-cell" value="#ffffff"/>    
-    <color name="highlight" value="#ffff00"/>
-    <color name="fixme" value="#cc6600"/>
-    <color name="note" value="#006699"/>
-    <color name="warning" value="#990000"/>
-    <color name="code" value="#a5b6c6"/>
-        
-    <color name="footer" value="#a5b6c6"/>
--->
-  
-  <!-- Forrest -->
-<!--
-    <color name="header"    value="#294563"/>
-
-    <color name="tab-selected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
-    <color name="tab-unselected" value="#b5c7e7" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
-    <color name="subtab-selected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
-    <color name="subtab-unselected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
-
-    <color name="heading" value="#294563"/>
-    <color name="subheading" value="#4a6d8c"/>
-        
-    <color name="navstrip" value="#cedfef" font="#0F3660" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
-    <color name="toolbox" value="#4a6d8c"/>
-    <color name="border" value="#294563"/>
-    
-    <color name="menu" value="#4a6d8c" font="#cedfef" link="#ffffff" vlink="#ffffff" hlink="#ffcf00"/>    
-    <color name="dialog" value="#4a6d8c"/>
-            
-    <color name="body" value="#ffffff"  link="#0F3660" vlink="#009999" hlink="#000066"/>
-    
-    <color name="table" value="#7099C5"/>    
-    <color name="table-cell" value="#f0f0ff"/>    
-    <color name="highlight" value="#ffff00"/>
-    <color name="fixme" value="#cc6600"/>
-    <color name="note" value="#006699"/>
-    <color name="warning" value="#990000"/>
-    <color name="code" value="#CFDCED"/>
-        
-    <color name="footer" value="#cedfef"/>
--->
-
-  <!-- Collabnet --> 
-<!--
-    <color name="header"    value="#003366"/>
-
-    <color name="tab-selected" value="#dddddd" link="#555555" vlink="#555555" hlink="#555555"/>
-    <color name="tab-unselected" value="#999999" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
-    <color name="subtab-selected" value="#cccccc" link="#000000" vlink="#000000" hlink="#000000"/>
-    <color name="subtab-unselected" value="#cccccc" link="#555555" vlink="#555555" hlink="#555555"/>
-
-    <color name="heading" value="#003366"/>
-    <color name="subheading" value="#888888"/>
-    
-    <color name="navstrip" value="#dddddd" font="#555555"/>
-    <color name="toolbox" value="#dddddd" font="#555555"/>
-    <color name="border" value="#999999"/>
-    
-    <color name="menu" value="#ffffff"/>    
-    <color name="dialog" value="#eeeeee"/>
-            
-    <color name="body"      value="#ffffff"/>
-    
-    <color name="table" value="#ccc"/>    
-    <color name="table-cell" value="#ffffff"/>   
-    <color name="highlight" value="#ffff00"/>
-    <color name="fixme" value="#cc6600"/>
-    <color name="note" value="#006699"/>
-    <color name="warning" value="#990000"/>
-    <color name="code" value="#003366"/>
-        
-    <color name="footer" value="#ffffff"/>
--->
- <!-- Lenya using pelt-->
-<!--
-    <color name="header" value="#ffffff"/>
-
-    <color name="tab-selected" value="#4C6C8F" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
-    <color name="tab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
-    <color name="subtab-selected" value="#000000" link="#000000" vlink="#000000" hlink="#000000"/>
-    <color name="subtab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
-
-    <color name="heading" value="#E5E4D9"/>
-    <color name="subheading" value="#000000"/>
-    <color name="published" value="#4C6C8F" font="#FFFFFF"/>
-    <color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/>
-    <color name="navstrip" value="#E5E4D9" font="#000000"/>
-
-    <color name="toolbox" value="#CFDCED" font="#000000"/>
-
-    <color name="border" value="#999999"/>
-    <color name="menu" value="#4C6C8F" font="#ffffff" link="#ffffff" vlink="#ffffff" hlink="#ffffff" current="#FFCC33" />    
-    <color name="menuheading" value="#cfdced" font="#000000" />
-    <color name="searchbox" value="#E5E4D9" font="#000000"/>
-    
-    <color name="dialog" value="#CFDCED"/>
-    <color name="body" value="#ffffff" />            
-    
-    <color name="table" value="#ccc"/>    
-    <color name="table-cell" value="#ffffff"/>   
-    <color name="highlight" value="#ffff00"/>
-    <color name="fixme" value="#cc6600"/>
-    <color name="note" value="#006699"/>
-    <color name="warning" value="#990000"/>
-    <color name="code" value="#003366"/>
-        
-    <color name="footer" value="#E5E4D9"/>
--->
-  </colors>
- 
-  <!-- Settings specific to PDF output. -->
-  <pdf>
-    <!-- 
-       Supported page sizes are a0, a1, a2, a3, a4, a5, executive,
-       folio, legal, ledger, letter, quarto, tabloid (default letter).
-       Supported page orientations are portrait, landscape (default
-       portrait).
-       Supported text alignments are left, right, justify (default left).
-    -->
-    <page size="letter" orientation="portrait" text-align="left"/>
-
-    <!--
-       Margins can be specified for top, bottom, inner, and outer
-       edges. If double-sided="false", the inner edge is always left
-       and the outer is always right. If double-sided="true", the
-       inner edge will be left on odd pages, right on even pages,
-       the outer edge vice versa.
-       Specified below are the default settings.
-    -->
-    <margins double-sided="false">
-      <top>1in</top>
-      <bottom>1in</bottom>
-      <inner>1.25in</inner>
-      <outer>1in</outer>
-    </margins>
-
-    <!--
-      Print the URL text next to all links going outside the file
-    -->
-    <show-external-urls>false</show-external-urls>
-
-    <!--
-      Disable the copyright footer on each page of the PDF.
-      A footer is composed for each page. By default, a "credit" with role=pdf
-      will be used, as explained below. Otherwise a copyright statement
-      will be generated. This latter can be disabled.
-    -->
-    <disable-copyright-footer>false</disable-copyright-footer>
-  </pdf>
-
-  <!-- Credits are typically rendered as a set of small clickable
-    images in the page footer.
-    Use box-location="alt" to move the credit to an alternate location
-    (if the skin supports it). 
-  -->
-  <credits>
-    <credit box-location="alt">
-      <name>Built with Apache Forrest</name>
-      <url>http://forrest.apache.org/</url>
-      <image>images/built-with-forrest-button.png</image>
-      <width>88</width>
-      <height>31</height>
-    </credit>
-    <!-- A credit with @role="pdf" will be used to compose a footer
-     for each page in the PDF, using either "name" or "url" or both.
-    -->
-    <!--
-    <credit role="pdf">
-      <name>Built with Apache Forrest</name>
-      <url>http://forrest.apache.org/</url>
-    </credit>
-    -->
-  </credits>
-
-</skinconfig>

+ 0 - 75
hadoop-hdfs-project/hadoop-hdfs/src/main/docs/status.xml

@@ -1,75 +0,0 @@
-<?xml version="1.0"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-<status>
-
-  <developers>
-    <person name="Joe Bloggs"      email="joe@joescompany.org"      id="JB" />
-    <!-- Add more people here -->
-  </developers>
-
-  <changes>
-    <!-- Add new releases here -->
-    <release version="0.1" date="unreleased">
-      <!-- Some action types have associated images. By default, images are
-      defined for 'add', 'fix', 'remove', 'update' and 'hack'. If you add
-      src/documentation/resources/images/<foo>.jpg images, these will
-      automatically be used for entries of type <foo>. -->
-
-      <action dev="JB" type="add" context="admin">
-        Initial Import
-      </action>
-      <!-- Sample action:
-      <action dev="JB" type="fix" due-to="Joe Contributor"
-          due-to-email="joec@apache.org" fixes-bug="123">
-          Fixed a bug in the Foo class.
-        </action>
-        -->
-    </release>
-  </changes>
-
-  <todo>
-    <actions priority="high">
-      <action context="docs" dev="JB">
-        Customize this template project with your project's details.  This
-        TODO list is generated from 'status.xml'.
-      </action>
-      <action context="docs" dev="JB">
-        Add lots of content.  XML content goes in
-        <code>src/documentation/content/xdocs</code>, or wherever the
-        <code>${project.xdocs-dir}</code> property (set in
-        <code>forrest.properties</code>) points.
-      </action>
-      <action context="feedback" dev="JB">
-        Mail <link
-          href="mailto:forrest-dev@xml.apache.org">forrest-dev@xml.apache.org</link>
-        with feedback.
-      </action>
-    </actions>
-    <!-- Add todo items. @context is an arbitrary string. Eg:
-    <actions priority="high">
-      <action context="code" dev="SN">
-      </action>
-    </actions>
-    <actions priority="medium">
-      <action context="docs" dev="open">
-      </action>
-    </actions>
-    -->
-  </todo>
-
-</status>