From 743c0ebd6729d6f0af79722cbe777b6eba5d7d5b Mon Sep 17 00:00:00 2001 From: Allen Wittenauer Date: Fri, 3 Jun 2016 17:07:39 -0700 Subject: [PATCH] HDFS-7767. Use the noredirect flag in WebHDFS to allow web browsers to upload files via the NN UI (Ravi Prakash via aw) (cherry picked from commit 99a771cd7a3f792a76ac89c406b82a983c059d28) --- .../src/main/webapps/hdfs/explorer.html | 25 ++++++++- .../src/main/webapps/hdfs/explorer.js | 51 +++++++++++++++++++ 2 files changed, 74 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.html b/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.html index 5106006c0e2..51f72e574c8 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.html +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.html @@ -119,6 +119,23 @@ +