hive thriftserver 2

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协议来服务,可方便使用负载均衡

hive.server2.transport.mode 默认binary 可设置为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 默认为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.

你可能感兴趣的:(hive thriftserver 2)