From 9deed1c2c99bef1749f12f768453b34c521ccd42 Mon Sep 17 00:00:00 2001 From: Abraham Elmahrek Date: Wed, 21 Jan 2015 08:58:26 -0800 Subject: [PATCH] SQOOP-1791: Sqoop2: Add simple authentication parameters to documentation (Richard Zhou via Abraham Elmahrek) --- docs/src/site/sphinx/RESTAPI.rst | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/docs/src/site/sphinx/RESTAPI.rst b/docs/src/site/sphinx/RESTAPI.rst index 3d0c7c43..fa23b425 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 -------------------------------------