cdh hive開啟事物機制


操作系統:CentOS Linux release 7.4.1708 (Core)    研發環境
軟件環境:cdh5.15.1 
記錄時間:20190729


修改hive的配置參數,使其支持行級insert、update、delete操作
服務端:
hive-site.xml 的 Hive 服務高級配置代碼段(安全閥)
hive.txn.manager = org.apache.hadoop.hive.ql.lockmgr.DbTxnManager  
hive.compactor.initiator.on = true  
hive.compactor.worker.threads=1

客戶端
hive-site.xml 的 Hive 客戶端高級配置代碼段(安全閥)
hive.txn.manager = org.apache.hadoop.hive.ql.lockmgr.DbTxnManager 
hive.support.concurrency = true  
hive.enforce.bucketing = true  
hive.exec.dynamic.partition.mode = nonstrict

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM