hive.server2.thrift.min.worker.threads – Minimum number of worker threads, default 5.
hive.server2.thrift.max.worker.threads – Maximum number of worker threads, default 500.
hive.server2.thrift.port – TCP port number to listen on, default 10000.
hive.server2.thrift.bind.host – TCP interface to bind to.
hiveserver2支持通過http協(xié)議來服務(wù),可方便使用負(fù)載均衡
hive.server2.transport.mode 默認(rèn)binary 可設(shè)置為http
hive.server2.thrift.http.port 10001
hive.server2.thrift.http.max.worker.threads 500
hive.server2.thrift.http.min.worker.threads 5
hive.server2.thrift.http.path cliservice
$HIVE_HOME/bin/hiveserver2
$HIVE_HOME/bin/hive --service hiveserver2
hive.server2.authentication 默認(rèn)為NONE(uses plain SASL) NOSASL KERBEROS LDAP PAM CUSTOM
hive.server2.authentication.kerberos.principal – Kerberos principal for server.
hive.server2.authentication.kerberos.keytab – Keytab for server principal.
hive.server2.authentication.ldap.url LDAP URL
hive.server2.authentication.ldap.baseDN LDAP base DN
hive.server2.authentication.ldap.Domain LDAP domain. (Hive 0.12.0 and later.)
hive.server2.custom.authentication.class – Custom authentication class that implements the org.apache.hive.service.auth.PasswdAuthenticationProvider interface.