Link to Hive

Description

By creating a Hive link, you can extract data from or load data to Hive of MRS.

Sample Link

{
  "links": [
    {
      "link-config-values": {
        "configs": [
          {
            "inputs": [
              {
                "name": "linkConfig.host",
                "value": "10.120.205.230"
              },
			  {
                "name": "linkConfig.authType",
                "value": "KERBEROS"
              },
              {
                "name": "linkConfig.user",
                "value": "cdm"
              },
              {
                "name": "linkConfig.password",
                "value": "Add password here"
              } 
            ],
            "name": "linkConfig"
          }
        ]
      },
      "name": "hive_link",
      "connector-name": "hive-connector"
    }
  ]
}

Link Parameters

Parameter

Mandatory

Type

Description

llinkConfig.host

No

String

IP address of MRS Manager

linkConfig.authType

No

Enumeration

Authentication method of MRS. The options are as follows:
  • SIMPLE: for non-security mode
  • KERBEROS: for security mode

linkConfig.principal

No

String

Account principal required for Kerberos authentication. You can contact the administrator to obtain the account.

linkConfig.keytab

No

FileContent

Local absolute path of the keytab file required for Kerberos authentication. You can contact the administrator to obtain the file.