hadoop/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main
Tamas Domok f93e8fbf2d
HDFS-16129. Fixing the signature secret file misusage in HttpFS. Contributed by Tamas Domok
* HDFS-16129. Fixing the signature secret file misusage in HttpFS.

The signature secret file was not used in HttpFs.
 - if the configuration did not contain the deprecated
httpfs.authentication.signature.secret.file option then it
used the random secret provider
 - if both option (httpfs. and hadoop.http.) was set then
the HttpFSAuthenticationFilter could not read the file
because the file path was not substituted properly

!NOTE! behavioral change: the deprecated httpfs. configuration
values are overwritten with the hadoop.http. values.

The commit also contains a follow up change to the YARN-10814,
empty secret files will result in a random secret provider.

Co-authored-by: Tamas Domok <tdomok@cloudera.com>
2021-09-20 14:29:50 +02:00
..
conf HDFS-13654. Use a random secret when a secret file doesn't exist in HttpFS. This should be default. 2019-05-31 10:29:24 +09:00
java/org/apache/hadoop HDFS-16129. Fixing the signature secret file misusage in HttpFS. Contributed by Tamas Domok 2021-09-20 14:29:50 +02:00
libexec/shellprofile.d HADOOP-13595. Rework hadoop_usage to be broken up by clients/daemons/etc. Contributed by Allen Wittenauer. 2017-08-02 12:25:05 -06:00
resources HDFS-16129. Fixing the signature secret file misusage in HttpFS. Contributed by Tamas Domok 2021-09-20 14:29:50 +02:00
sbin HDFS-10860. Switch HttpFS from Tomcat to Jetty. Contributed by John Zhuge. 2017-02-07 09:36:55 -08:00
webapp/WEB-INF HDFS-3113. httpfs does not support delegation tokens. (tucu) 2012-07-26 13:39:05 +00:00