HUE-8728 [jb] Redirect client for file download.
Review Request #13667 - Created March 1, 2019 and submitted
|Jean-Francois Desjeans Gauthier|
commit f2d7f12085abfec677701471ead2020726a74294 Author: jdesjean <firstname.lastname@example.org> Date: Fri Mar 1 15:15:27 2019 -0800 HUE-8728 [jb] Redirect client for file download. :100644 100644 47b1fc29ea... 9e302e0478... M apps/filebrowser/src/filebrowser/conf.py :100644 100644 858fc2bba2... e614c30b18... M apps/filebrowser/src/filebrowser/views.py :100644 100644 aea4d92b96... a874eb04d1... M desktop/conf.dist/hue.ini :100644 100644 bf4abb290a... c83390bb03... M desktop/conf/pseudo-distributed.ini.tmpl :100644 100644 1f782e80e0... 892ac63bae... M desktop/libs/aws/src/aws/s3/s3file.py :100644 100644 d23e444c3a... 37938a8bc8... M desktop/libs/azure/src/azure/adls/webhdfs.py :100644 100644 3306b032c3... 5446102505... M desktop/libs/hadoop/src/hadoop/fs/webhdfs.py
Tested with HDFS unsecure/secure (kerboros) & S3 with regular key setup
ADLS does not work, because it does not support GETDELEGATIONTOKEN - HADOOP-14579
Intesting way! Great that it works on nightly secure (SSL?).
If we could find a way to have it on by default it would be great (we could see for ADLS/GFS later).
Token expiration: does it means a file download should not take more than 1 day? (and we renew automatically at each beginning. so maybe we could lower a bit the token, not sure)
Comment not updated?
Could we auto guess and add extra values to the redirect_whitelist?
(it not fully automated, we can't really turn it on)
nite: 1 line