From 43e37b96f86881097d68925a92b65ae06e896d6f Mon Sep 17 00:00:00 2001 From: Eli Collins Date: Wed, 11 Jul 2012 08:21:22 +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/trunk@1360056 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 +- .../src/main/packages/templates/conf/hdfs-site.xml | 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 +- 8 files changed, 9 insertions(+), 7 deletions(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 4a99d80148..222873bbd6 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -323,6 +323,8 @@ Branch-2 ( Unreleased changes ) 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 270e9517ed..fc7b59ba70 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 1509d247fa..4d23dbe76f 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 @@ /** * 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-common-project/hadoop-common/src/main/packages/templates/conf/hdfs-site.xml b/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hdfs-site.xml index 81afa95bae..d056d86a9c 100644 --- a/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hdfs-site.xml +++ b/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hdfs-site.xml @@ -144,7 +144,7 @@ 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. + HTTP SPNEGO specification. 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 e96042ef13..a51f872270 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 30417423cd..4bd137950f 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 2f8dd5b9cc..9a25753513 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 b776e21b0e..38b8dc8ab0 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. | *-------------------------------------------------+---------------------------------------------------+