Member since
05-12-2017
37
Posts
1
Kudos Received
1
Solution
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1819 | 07-05-2021 10:06 PM |
07-05-2021
10:06 PM
1 Kudo
Hi All, It worked ,i did mistake .i forgot to add "access" before second group permission. Thanks Srinivas
... View more
07-05-2021
08:57 PM
Hi All, I have a requirement like, I need to create hive policy through REST API in CDP Env with two groups .Here , we are giving permission at group level not at user level. one group with "ALL" permissions and 2nd group with "select" permission. I have created policy through REST API with one group with "all" permissions but how to mention 2nd group with "select" permission in same create policy command. I have tried the below method but did not worked. CURLURL="https://host:6182/service/public/v2/api/policy/"
CURLDATA='{ "isEnabled":true,"service":"cm_hive","name":"policy_test1","description":"Policy for employees database access","isAuditEnabled":true,"resources":{"database":{"values":["DBNAME"],"isExcludes":false,"isRecursive":false},"table":{"values":["*"],"isExcludes":false,"isRecursive":false}},"policyItems":[{"accesses":[{"type":"ALL","isAllowed":true}],"users":[""],"groups":["GROUP1"],[{"type":"SELECT","isAllowed":true}],"users":[""],"groups":["GROUP2"]"conditions":[],"delegateAdmin":false}],"denyPolicyItems":[],"allowExceptions":[],"denyExceptions":[],"dataMaskPolicyItems":[],"rowFilterPolicyItems":[]}'
RESPONSE=`curl -k -iv -u username:password -H "Content-Type: application/json" -X POST "$CURLURL" -d "$CURLDATA"` Thanks in advance! Srini Podili
... View more
Labels:
- Labels:
-
Apache Ranger
-
Cloudera
07-05-2021
04:56 AM
Hi, I have a requirement like, i need to create policy with two groups .one group with "ALL" permissions to some "x" user and 2nd group with "select" permission to "y" user. i have created policy through REST APi with one group but with "all" permissions but how to mention 2nd group with "select" permission in same create policy command. Thanks in advance! Srini Podili
... View more
07-02-2021
05:06 AM
Hi Asish. I saw this info from Apache documentation. https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-HiveConfigurationProperties Thanks, Srinivas
... View more
07-02-2021
04:07 AM
Hi Asish, I'm new to hadoop ,I'm sorry asking in detail. so the value for ishive.security.authorization.sqlstd.confwhitelist hive\.msck\.path\.validation|hive\.msck\.repair\.batch\.size can u please help. Thanks Srini Podili
... View more
07-02-2021
02:21 AM
Hi We are also getting same issue . what property should be changed here? this is from my env. Please let me know. Thanks in advance.. Srini Podili
... View more
04-01-2020
06:43 AM
@jsensharma I have same issue as above, i exported path and script ran fine. I can see alert " [Custom] Host Mount Point Usage" added in Ambari alerts page but i'm not seeing alerts .I followed all the steps.
... View more
02-11-2020
02:54 AM
Hi, i see this is mentioned in above link "AMS data would be stored in 'hbase.rootdir' identified above. Backup and remove the AMS data. If the Metrics Service operation mode is 'embedded', then the data is stored in OS files. Use regular OS commands to backup and remove the files in hbase.rootdir" so we need to remove dir structure or only files inside folders? please let me know
... View more