falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From venkat...@apache.org
Subject [5/5] git commit: FALCON-748 Falcon throws '413 Full Head' error message when kerberos is enabled with AD. Contributed by Balu Vellanki
Date Thu, 02 Oct 2014 00:51:57 GMT
FALCON-748 Falcon throws '413 Full Head' error message when kerberos is enabled with AD. Contributed
by Balu Vellanki


Project: http://git-wip-us.apache.org/repos/asf/incubator-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-falcon/commit/0db23f42
Tree: http://git-wip-us.apache.org/repos/asf/incubator-falcon/tree/0db23f42
Diff: http://git-wip-us.apache.org/repos/asf/incubator-falcon/diff/0db23f42

Branch: refs/heads/master
Commit: 0db23f42f2acb4abe8b04954900b607b9caa384c
Parents: 88d9248
Author: Venkatesh Seetharam <venkatesh@apache.org>
Authored: Wed Oct 1 17:44:57 2014 -0700
Committer: Venkatesh Seetharam <venkatesh@apache.org>
Committed: Wed Oct 1 17:44:57 2014 -0700

----------------------------------------------------------------------
 CHANGES.txt                                                   | 3 +++
 docs/src/site/twiki/Security.twiki                            | 3 +++
 .../src/main/java/org/apache/falcon/util/EmbeddedServer.java  | 7 +++++++
 3 files changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/0db23f42/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 87f657b..d258dae 100755
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -33,6 +33,9 @@ Trunk (Unreleased)
    FALCON-263 API to get workflow parameters. (pavan kumar kolamuri via Shwetha GS)
 
   IMPROVEMENTS
+   FALCON-748 Falcon throws '413 Full Head' error message when kerberos is
+   enabled with AD (Balu Vellanki via Venkatesh Seetharam)
+
    FALCON-767 Upgrade Hadoop from 2.4 to 2.5 (Sowmya Ramesh via Venkatesh Seetharam)
 
    FALCON-651 Typos in Falcon Documentation (Ajay Yadav via Venkatesh Seetharam)

http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/0db23f42/docs/src/site/twiki/Security.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/Security.twiki b/docs/src/site/twiki/Security.twiki
index f91c350..2e97c8b 100644
--- a/docs/src/site/twiki/Security.twiki
+++ b/docs/src/site/twiki/Security.twiki
@@ -204,6 +204,9 @@ Following is the Server Side Configuration Setup for Authentication.
 
 # Comma separated list of black listed users
 *.falcon.http.authentication.blacklisted.users=
+
+# Increase Jetty request buffer size to accommodate the generated Kerberos token
+*.falcon.jetty.request.buffer.size=16192
 </verbatim>
 
 ---+++ Pseudo/Simple Configuration

http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/0db23f42/prism/src/main/java/org/apache/falcon/util/EmbeddedServer.java
----------------------------------------------------------------------
diff --git a/prism/src/main/java/org/apache/falcon/util/EmbeddedServer.java b/prism/src/main/java/org/apache/falcon/util/EmbeddedServer.java
index b3a5524..788df58 100644
--- a/prism/src/main/java/org/apache/falcon/util/EmbeddedServer.java
+++ b/prism/src/main/java/org/apache/falcon/util/EmbeddedServer.java
@@ -42,6 +42,13 @@ public class EmbeddedServer {
         Connector connector = new SocketConnector();
         connector.setPort(port);
         connector.setHost("0.0.0.0");
+
+        // this is to enable large header sizes when Kerberos is enabled with AD
+        final Integer bufferSize = Integer.valueOf(StartupProperties.get().getProperty(
+                "falcon.jetty.request.buffer.size", "16192"));
+        connector.setHeaderBufferSize(bufferSize);
+        connector.setRequestBufferSize(bufferSize);
+
         return connector;
     }
 


Mime
View raw message