From f7d333c152ec164cb9f12fcbbf5027470bdacfb7 Mon Sep 17 00:00:00 2001 From: Alejandro Abdelnur Date: Fri, 25 Jan 2013 17:27:50 +0000 Subject: [PATCH] HADOOP-8857. hadoop.http.authentication.signature.secret.file docs should not state that secret is randomly generated. (tucu) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1438601 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ .../hadoop-common/src/main/resources/core-default.xml | 1 - .../hadoop-common/src/site/apt/HttpAuthentication.apt.vm | 7 +++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 97ae7b9103..df7a9f6778 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -575,6 +575,9 @@ Release 2.0.3-alpha - Unreleased HADOOP-9215. when using cmake-2.6, libhadoop.so doesn't get created (only libhadoop.so.1.0.0) (Colin Patrick McCabe via todd) + HADOOP-8857. hadoop.http.authentication.signature.secret.file docs + should not state that secret is randomly generated. (tucu) + Release 2.0.2-alpha - 2012-09-07 INCOMPATIBLE CHANGES diff --git a/hadoop-common-project/hadoop-common/src/main/resources/core-default.xml b/hadoop-common-project/hadoop-common/src/main/resources/core-default.xml index fe2902bc59..7a457982c7 100644 --- a/hadoop-common-project/hadoop-common/src/main/resources/core-default.xml +++ b/hadoop-common-project/hadoop-common/src/main/resources/core-default.xml @@ -890,7 +890,6 @@ ${user.home}/hadoop-http-auth-signature-secret The signature secret for signing the authentication tokens. - If not set a random secret is generated at startup time. The same secret should be used for JT/NN/DN/TT configurations. diff --git a/hadoop-common-project/hadoop-common/src/site/apt/HttpAuthentication.apt.vm b/hadoop-common-project/hadoop-common/src/site/apt/HttpAuthentication.apt.vm index e1d88fab2e..1f95da06a5 100644 --- a/hadoop-common-project/hadoop-common/src/site/apt/HttpAuthentication.apt.vm +++ b/hadoop-common-project/hadoop-common/src/site/apt/HttpAuthentication.apt.vm @@ -64,10 +64,9 @@ Authentication for Hadoop HTTP web-consoles The default value is <<<36000>>>. <<>>: The signature secret - file for signing the authentication tokens. If not set a random secret is - generated at startup time. The same secret should be used for all nodes - in the cluster, JobTracker, NameNode, DataNode and TastTracker. The - default value is <<<${user.home}/hadoop-http-auth-signature-secret>>>. + file for signing the authentication tokens. The same secret should be used + for all nodes in the cluster, JobTracker, NameNode, DataNode and TastTracker. + The default value is <<<${user.home}/hadoop-http-auth-signature-secret>>>. IMPORTANT: This file should be readable only by the Unix user running the daemons.