From 267a83df9f99ab9767cee34134514ed43f22fe5b Mon Sep 17 00:00:00 2001 From: Eli Collins Date: Wed, 11 Jul 2012 08:14:46 +0000 Subject: [PATCH] HADOOP-8586. Fixup a bunch of SPNEGO misspellings. Contributed by Eli Collins git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1360053 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-common-project/hadoop-common/CHANGES.txt | 2 ++ .../docs/src/documentation/content/xdocs/HttpAuthentication.xml | 2 +- .../apache/hadoop/security/AuthenticationFilterInitializer.java | 2 +- .../hadoop-hdfs-httpfs/src/main/resources/httpfs-default.xml | 2 +- .../hadoop-hdfs-httpfs/src/site/apt/UsingHttpTools.apt.vm | 2 +- .../hadoop-hdfs-httpfs/src/site/apt/index.apt.vm | 2 +- .../hadoop-yarn/hadoop-yarn-site/src/site/apt/WebHDFS.apt.vm | 2 +- 7 files changed, 8 insertions(+), 6 deletions(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index cfbb3b001f5..6caf1aa951c 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -141,6 +141,8 @@ Release 2.0.1-alpha - UNRELEASED HADOOP-8566. AvroReflectSerializer.accept(Class) throws a NPE if the class has no package (primitive types and arrays). (tucu) + HADOOP-8586. Fixup a bunch of SPNEGO misspellings. (eli) + BREAKDOWN OF HDFS-3042 SUBTASKS HADOOP-8220. ZKFailoverController doesn't handle failure to become active diff --git a/hadoop-common-project/hadoop-common/src/main/docs/src/documentation/content/xdocs/HttpAuthentication.xml b/hadoop-common-project/hadoop-common/src/main/docs/src/documentation/content/xdocs/HttpAuthentication.xml index 270e9517ed2..fc7b59ba70a 100644 --- a/hadoop-common-project/hadoop-common/src/main/docs/src/documentation/content/xdocs/HttpAuthentication.xml +++ b/hadoop-common-project/hadoop-common/src/main/docs/src/documentation/content/xdocs/HttpAuthentication.xml @@ -110,7 +110,7 @@

hadoop.http.authentication.kerberos.principal: Indicates the Kerberos principal to be used for HTTP endpoint when using 'kerberos' authentication. - The principal short name must be HTTP per Kerberos HTTP SPENGO specification. + The principal short name must be HTTP per Kerberos HTTP SPNEGO specification. The default value is HTTP/_HOST@$LOCALHOST, where _HOST -if present- is replaced with bind address of the HTTP server.

diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/AuthenticationFilterInitializer.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/AuthenticationFilterInitializer.java index 1509d247fa7..4d23dbe76fd 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/AuthenticationFilterInitializer.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/AuthenticationFilterInitializer.java @@ -32,7 +32,7 @@ import java.util.Map; /** * Initializes hadoop-auth AuthenticationFilter which provides support for - * Kerberos HTTP SPENGO authentication. + * Kerberos HTTP SPNEGO authentication. *

* It enables anonymous access, simple/speudo and Kerberos HTTP SPNEGO * authentication for Hadoop JobTracker, NameNode, DataNodes and diff --git a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/resources/httpfs-default.xml b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/resources/httpfs-default.xml index e96042ef133..a51f8722708 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/resources/httpfs-default.xml +++ b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/resources/httpfs-default.xml @@ -104,7 +104,7 @@ The HTTP Kerberos principal used by HttpFS in the HTTP endpoint. The HTTP Kerberos principal MUST start with 'HTTP/' per Kerberos - HTTP SPENGO specification. + HTTP SPNEGO specification. diff --git a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/site/apt/UsingHttpTools.apt.vm b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/site/apt/UsingHttpTools.apt.vm index 30417423cd2..4bd137950fd 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/site/apt/UsingHttpTools.apt.vm +++ b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/site/apt/UsingHttpTools.apt.vm @@ -37,7 +37,7 @@ $ curl "http://:14000/webhdfs/v1?op=homedir&user.name=babu" ** Kerberos HTTP SPNEGO Authentication - Kerberos HTTP SPENGO authentication requires a tool or library supporting + Kerberos HTTP SPNEGO authentication requires a tool or library supporting Kerberos HTTP SPNEGO protocol. IMPORTANT: If using <<>>, the <<>> version being used must support diff --git a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/site/apt/index.apt.vm b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/site/apt/index.apt.vm index 2f8dd5b9cc2..9a25753513e 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/site/apt/index.apt.vm +++ b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/site/apt/index.apt.vm @@ -72,7 +72,7 @@ Hadoop HDFS over HTTP - Documentation Sets ${project.version} HttpFS uses a clean HTTP REST API making its use with HTTP tools more intuitive. - HttpFS supports Hadoop pseudo authentication, Kerberos SPENGOS authentication + HttpFS supports Hadoop pseudo authentication, Kerberos SPNEGOS authentication and Hadoop proxy users. Hadoop HDFS proxy did not. * User and Developer Documentation diff --git a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/WebHDFS.apt.vm b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/WebHDFS.apt.vm index b776e21b0e4..38b8dc8ab09 100644 --- a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/WebHDFS.apt.vm +++ b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/WebHDFS.apt.vm @@ -145,7 +145,7 @@ WebHDFS REST API *-------------------------------------------------+---------------------------------------------------+ | <<>> | Enable/disable WebHDFS in Namenodes and Datanodes | *-------------------------------------------------+---------------------------------------------------+ -| <<>> | The HTTP Kerberos principal used by Hadoop-Auth in the HTTP endpoint. The HTTP Kerberos principal MUST start with 'HTTP/' per Kerberos HTTP SPENGO specification. | +| <<>> | 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. | *-------------------------------------------------+---------------------------------------------------+ | <<>> | The Kerberos keytab file with the credentials for the HTTP Kerberos principal used by Hadoop-Auth in the HTTP endpoint. | *-------------------------------------------------+---------------------------------------------------+