跳到主要內容

發表文章

目前顯示的是有「Hadoop」標籤的文章

[HIVE] 設定 hive authorization

設定 hive authorization root權限編輯hive config command vim /etc/hive/conf.dist/hive-site.xml *需打包jar  com.qiku.custom.auth.HiveServer2Auth  <property> <name> hive.server2.enable.doAs </name> <value> false </value> </property> <property> <name>hive.server2.authentication</name> <value> CUSTOM </value> </property> <property> <name>hive.server2.custom.authentication.class</name> <value> org . apache . hive . service . auth . PasswdAuthenticationProvider . SampleAuth </value> </property> 自定義登入邏輯 [java] 儲存為HiveServer2Auth.jar 放在 ${HIVE_HOME}/lib下  package org . apache . hive . service . auth . PasswdAuthenticationProvider . SampleAuth ; import java . util . Hashtable ; import javax . security . sasl . AuthenticationException ; import org . apache . hive . service . auth . ...

[Hive] 使用 Hive Transactions 發生 error 10265

root權限編輯hive config command vim /etc/hive/conf.dist/hive-site.xml 在hive config 增加property <property> <name>hive.support.concurrency</name> <value>true</value> </property> <property> <name>hive.enforce.bucketing</name> <value>true</value> </property> <property> <name>hive.exec.dynamic.partition.mode</name> <value>nonstrict</value> </property> <property> <name>hive.txn.manager</name> <value>org.apache.hadoop.hive.ql.lockmgr.DbTxnManager</value> </property> <property> <name>hive.compactor.initiator.on</name> <value>true</value> </property> <property> <name>hive.compactor.worker.threads</name> <value>1</value...