91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

cdh啟用sentry的步驟

發布時間:2020-06-21 02:13:11 來源:網絡 閱讀:1617 作者:choulanlan 欄目:大數據

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

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

呈贡县| 峡江县| 石门县| 九龙城区| 朔州市| 东台市| 绍兴市| 丹东市| 贵德县| 淮滨县| 光泽县| 拜城县| 嵩明县| 云林县| 莱州市| 邵阳市| 东方市| 伊金霍洛旗| 钟山县| 土默特右旗| 中牟县| 荥经县| 丁青县| 焦作市| 衡阳县| 临海市| 睢宁县| 尚志市| 肃北| 昔阳县| 攀枝花市| 贺州市| 安新县| 武功县| 莲花县| 洛南县| 东阳市| 体育| 黑河市| 崇信县| 吉水县|