HIVE

Use HiveServer2

hive

Datasource Parameters

DatasourceDescription
DatasourceSelect HIVE.
Datasource nameEnter the name of the DataSource.
DescriptionEnter a description of the DataSource.
IP/Host NameEnter the HIVE service IP.
PortEnter the HIVE service port.
UsernameSet the username for HIVE connection.
PasswordSet the password for HIVE connection.
Database nameEnter the database name of the HIVE connection.
Jdbc connection parametersParameter settings for HIVE connection, in JSON format.

NOTICE: If you wish to execute multiple HIVE SQL in the same session, you could set support.hive.oneSession = true in common.properties. It is helpful when you try to set env variables before running HIVE SQL. Default value of support.hive.oneSession is false and multi-SQLs run in different sessions.

Use HiveServer2 HA ZooKeeper

hive-server2

NOTICE: If Kerberos is disabled, ensure the parameter hadoop.security.authentication.startup.state is false, and parameter java.security.krb5.conf.path value sets null. If Kerberos is enabled, needs to set the following parameters in common.properties:

  1. # whether to startup kerberos
  2. hadoop.security.authentication.startup.state=true
  3. # java.security.krb5.conf path
  4. java.security.krb5.conf.path=/opt/krb5.conf
  5. # login user from keytab username
  6. login.user.keytab.username=hdfs-mycluster@ESZ.COM
  7. # login user from keytab path
  8. login.user.keytab.path=/opt/hdfs.headless.keytab

Native Supported

Yes, could use this datasource by default.