From 578bc2ce0c8ff8a07891a84db8f069f79f40689d Mon Sep 17 00:00:00 2001 From: Alejandro Abdelnur Date: Fri, 25 Jan 2013 17:28:30 +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/branches/branch-2@1438604 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 04969f1c6fe..15f4fb6c1a9 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -262,6 +262,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 f6acf2070d5..f090f011e02 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 @@ -912,7 +912,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 e1d88fab2e5..1f95da06a53 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.