(GLUE-1902) Configuration
Connection parameters to an external HTTP server are stored within a dedicated RFC destination for Oozie service:
- Go to transaction SM59.
- Create a new RFC Connection of type ‘G’.
- Set the following parameters and save the RFC destination:
- Target Host: The host name Oozie server runs on. Default value is the output of the command hostname –f on the Hadoop cluster.
- Service No.: The port Oozie server runs. Default value 11000.
- Path Prefix: The path must have following syntax: /oozie/v1
- /oozie/v1 – mandatory path prefix defined by the Oozie Web Services API.
Subsequently, configure the connection customising tables:
- Go to the Table View Maintenance for the configuration table /DVD/OOZIE_CUS_C using the transaction SM30.
- Create entries with the following values for the Oozie RFC:
- user.name: Name of a Hadoop user on whose behalf Oozie Web Services will submit and manage jobs. Also the user is either the owner or has required privileges (read, write, delete) for the directory <hdp_usr_home_path> set in the RFC destination (see the chapter RFC Destination).
- queueName: Specify the queue in which should job run. Default value: default.
- nameNode: The host name and port of the cluster’s NameNode - [format: hdfs://${HOSTNAME}:${PORT}] , *NOTE: port number usually is 8020
- jobTracker: The host name and port on which the JobTracker run [format: ${HOSTNAME}:${PORT}], *NOTE: port number is usually 8032
- apps.default.directory: A directory where all applications will be stored. The user specified in user.name must have required privileges for the directory.
- oozie.default.directory: A sub-directory where all oozie applications will be stored.
- hcat.metastore.uri: the Hive Metastore URI. [format: thrift: ://${HOSTNAME}:${PORT}]
- If the Kerberos Authentication is enabled only
- hcat.metastore.principal: Hive Metastore principal. [format: hive/_HOST@MYREALM]
- If the Kerberos Authentication is enabled only
- Save the entry.
- Go to the Table View Maintenance for the configuration table /DVD/HDP_CUS_C using the transaction SM30.
- Create an entry with the following values:
- RFC Destination: RFC Destination that refers to the Oozie service (see the chapter RFC Destination)
User Name: Name of a Hadoop user on whose behalf Oozie Web Services will submit and manage jobs. Also the user is either the owner or has required privileges (read, write, delete) for the directory <hdp_usr_home_path> set in the RFC destination (see the chapter RFC Destination).
- Authentication Method:
- NO_AUTHENTICATION: No Hadoop-specific authentication is applied
- PSEUDO_AUTHENTICATION: The user accessing Oozie is identified only by the user name
- KERBEROS: Kerberos authentication
- [KERBEROS ONLY] Kerberos keytab: logical file path to kerberos keytab
- [KERBEROS ONLY] Kerberos Config. File: logical file path to kerberos config
- [KERBEROS ONLY] Kerberos Auth. Service RFC: RFC connection to JAVA instance which runs Kerberos authorisation service
- Save the entry.