You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sqoop.apache.org by ab...@apache.org on 2015/01/21 18:56:32 UTC
sqoop git commit: SQOOP-1791: Sqoop2: Add simple authentication
parameters to documentation
Repository: sqoop
Updated Branches:
refs/heads/sqoop2 89f737b2a -> 9deed1c2c
SQOOP-1791: Sqoop2: Add simple authentication parameters to documentation
(Richard Zhou via Abraham Elmahrek)
Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/9deed1c2
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/9deed1c2
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/9deed1c2
Branch: refs/heads/sqoop2
Commit: 9deed1c2c99bef1749f12f768453b34c521ccd42
Parents: 89f737b
Author: Abraham Elmahrek <ab...@apache.org>
Authored: Wed Jan 21 08:58:26 2015 -0800
Committer: Abraham Elmahrek <ab...@apache.org>
Committed: Wed Jan 21 09:00:49 2015 -0800
----------------------------------------------------------------------
docs/src/site/sphinx/RESTAPI.rst | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/sqoop/blob/9deed1c2/docs/src/site/sphinx/RESTAPI.rst
----------------------------------------------------------------------
diff --git a/docs/src/site/sphinx/RESTAPI.rst b/docs/src/site/sphinx/RESTAPI.rst
index 3d0c7c4..fa23b42 100644
--- a/docs/src/site/sphinx/RESTAPI.rst
+++ b/docs/src/site/sphinx/RESTAPI.rst
@@ -250,14 +250,6 @@ After starting a job, you could look up the running status of it. There could be
Header Parameters
=================
-For all Sqoop requests, the following header parameters are supported:
-
-+---------------------------+----------+---------------------------------------------------------+
-| Parameter | Required | Description |
-+===========================+==========+=========================================================+
-| ``sqoop-user-name`` | true | The name of the user who makes the requests |
-+---------------------------+----------+---------------------------------------------------------+
-
For all the responses, the following parameters in the HTTP message header are available:
+---------------------------+----------+------------------------------------------------------------------------------+
@@ -276,6 +268,15 @@ REST APIs
The section elaborates all the rest apis that are supported by the Sqoop server.
+For all Sqoop requests, the following request parameters will be added automatically. However, this user name is only in simple mode. In Kerberos mode, this user name will be ignored by Sqoop server and user name in UGI which is authenticated by Kerberos server will be used instead.
+
++---------------------------+---------------------------------------------------------+
+| Parameter | Description |
++===========================+=========================================================+
+| ``user.name`` | The name of the user who makes the requests |
++---------------------------+---------------------------------------------------------+
+
+
/version - [GET] - Get Sqoop Version
-------------------------------------