Cloudera CDH/CDP 및 Hadoop EcoSystem, Semantic IoT등의 개발/운영 기술을 정리합니다. gooper@gooper.com로 문의 주세요.
test_admin계정에 a-db, b-db, c-db에 대한 admin권한(grant, create등)의 권한 부여 방법은 Policy를 생성하여 Delegate Admin option을 활성화하여 부여해주면 된다.
아래와 같은 값으로 Ranger에서 Policy생성/저장한다.
policy name : test_admin-grant
database : a-db, b-db, c-db
table : *
column : *
Allow Conditions : Select User항목에 test_user, Permissions에 select, Read, Refresh, Delegate Admin : check
*참고
<<권한 부여>>
grant select on table a-db.a-test to group group명;
<<권한 회수>>
revoke select on table a-db.a-test from group group명;
<<test_admin계정이 가지고 있는 권한 확인>>
show grant user test_admin on table a-db.a-test;
댓글 0
| 번호 | 제목 | 날짜 | 조회 수 |
|---|---|---|---|
| 4 | [CDP7.1.7] Ranger에서 DB단위로 귄한 부여시 특정 table을 제외하는 벙법 | 2025.11.25 | 8389 |
| 3 | [KTS Cluster의 Key Trustee Server]self-signed 인증서 발급및 설정 방법 | 2023.06.27 | 11608 |
| 2 | [Ranger]RangerAdminRESTClient Error gertting pplicies; Received NULL response!!, secureMode=true, user=rangerkms/node01.gooper.com@ GOOPER.COM (auth:KERBEROS), serviceName=cm_kms | 2023.06.27 | 10873 |
| » | [Ranger]계정에 admin권한(grant, create등)의 권한 부여 방법 | 2023.04.18 | 13050 |