5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-04 16:41:08 +08:00

SQOOP-1791: Sqoop2: Add simple authentication parameters to documentation

(Richard Zhou via Abraham Elmahrek)
This commit is contained in:
Abraham Elmahrek 2015-01-21 08:58:26 -08:00
parent 89f737b2ac
commit 9deed1c2c9

View File

@ -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
-------------------------------------