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.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容