HIVE
NOTICE: If you wish to execute multiple HIVE SQL in the same session, you could set
support.hive.oneSession = true
incommon.properties
. It is helpful when you try to set env variables before running HIVE SQL. Default value ofsupport.hive.oneSession
isfalse
and multi-SQLs run in different sessions.
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
:
# whether to startup kerberos
hadoop.security.authentication.startup.state=true
# java.security.krb5.conf path
java.security.krb5.conf.path=/opt/krb5.conf
# login user from keytab username
login.user.keytab.username=hdfs-mycluster@ESZ.COM
# login user from keytab path
login.user.keytab.path=/opt/hdfs.headless.keytab
Yes, could use this datasource by default.