cdh啟用sentry的步驟

cdh版本:5.14
主要參照官方文檔:https://www.cloudera.com/documentation/enterprise/5-14-x/topics/sentry.html

成都創新互聯服務項目包括青岡網站建設、青岡網站制作、青岡網頁制作以及青岡網絡營銷策劃等。多年來,我們專注于互聯網行業,利用自身積累的技術優勢、行業經驗、深度合作伙伴關系等,向廣大中小型企業、政府機構等提供互聯網行業的解決方案,青岡網站推廣取得了明顯的社會效益與經濟效益。目前,我們服務的客戶以成都為中心已經輻射到青岡省份的部分城市,未來相信會繼續擴大服務區域并繼續獲得客戶的支持與信任!

一.部署sentry服務
1.配置:官方建議將hive metastore的heap size至少設為10GB:
Set the HMS heap size to at least 10 GB. This is required because by default, Sentry uses 12 connections to communicate with HMS. To verify the HMS heap size, open the Hive service, click the Configuration tab, and search for the Java Heap Size of Hive Meatstore Server in Bytes property.

hive中每百萬個對象(包括servers, databases, tables, partitions, columns, URIs, and views),則sentry的Heap Size相應地需要2.25GB:
Cloudera recommends that for each Sentry host, you have 2.25 GB memory per million objects in the Hive database. Hive objects include servers, databases, tables, partitions, columns, URIs, and views.

Make sure that the JVM heap size is set to a value that is appropriate for the memory requirements. You can check the heap size in Cloudera Manager. Open the Sentry service, click the Configuration tab, and search for the Java Heap Size of Sentry Server in Bytes property. Set that property to the maximum size for the Java process heap memory.

2.安裝sentry
在CDH中添加sentry服務

3.開啟sentry服務之前的準備工作
Using the default Hive warehouse directory - Permissions on the warehouse directory must be set as follows (see following Note for caveats):
771 on the directory itself (by default, /user/hive/warehouse)
771 on all subdirectories (for example, /user/hive/warehouse/mysubdir)
All files and subdirectories should be owned by hive:hive
For example:
$ sudo -u hdfs hdfs dfs -chmod -R 771 /user/hive/warehouse
$ sudo -u hdfs hdfs dfs -chown -R hive:hive /user/hive/warehouse

在hive服務中勾選開啟senrty認證
去除hiveserver2配置項:HiveServer2 Enable Impersonation
增加yarn nodemanager選項-Allowed System Users:增加hive
在hive配置 hadoop.proxyuser.hive.groups,增加hive,hue,sentry

二.集成

1.hive配置項Sentry 服務,選擇sentry
2.impala配置項Sentry 服務 選擇sentry
3.hue配置項Sentry 服務 選擇sentry

名稱欄目:cdh啟用sentry的步驟
分享地址:http://m.kartarina.com/article14/jecsge.html

成都網站建設公司_創新互聯,為您提供品牌網站建設軟件開發網站設計定制網站ChatGPT靜態網站

廣告

聲明:本網站發布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創新互聯

微信小程序開發
主站蜘蛛池模板: 中文字幕丰满乱孑伦无码专区| 97久久精品无码一区二区| 国产怡春院无码一区二区| 亚洲自偷自偷偷色无码中文 | 亚洲Av无码乱码在线znlu| 国产精品无码无需播放器| 麻豆AV无码精品一区二区| 日日日日做夜夜夜夜无码| 无码人妻丰满熟妇片毛片| 日本爆乳j罩杯无码视频| 亚洲精品久久无码| 亚洲av无码国产精品夜色午夜| 亚洲成av人片天堂网无码】 | 熟妇人妻系列aⅴ无码专区友真希 熟妇人妻系列av无码一区二区 | 国产日韩精品无码区免费专区国产| 亚洲ⅴ国产v天堂a无码二区| 无码精品久久一区二区三区| 亚洲AV无码成人网站在线观看| 亚洲AV永久纯肉无码精品动漫| 无码国模国产在线无码精品国产自在久国产 | 亚洲AV成人片无码网站| 在线播放无码后入内射少妇| 一本大道无码日韩精品影视| 亚洲AV无码成人网站在线观看| 无码精品人妻一区二区三区人妻斩| 伊人久久大香线蕉无码麻豆| 永久免费av无码网站大全 | 男男AV纯肉无码免费播放无码| 毛片免费全部播放无码| 少妇无码AV无码专区在线观看| 亚洲人成网亚洲欧洲无码久久| 久久久久久国产精品无码下载| 国产在线精品无码二区二区| 青青爽无码视频在线观看| 亚洲av无码成人精品国产| 无码国产精品一区二区免费I6| 亚洲av无码一区二区三区在线播放| 亚洲AV色吊丝无码| 亚洲精品无码不卡在线播放| 亚洲AV综合色区无码一二三区| 亚洲精品无码久久久久牙蜜区|