메뉴 건너뛰기

Bigdata, Semantic IoT, Hadoop, NoSQL

Bigdata, 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;


A personal place to organize information learned during the development of such Hadoop, Hive, Hbase, Semantic IoT, etc.
We are open to the required minutes. Please send inquiries to gooper@gooper.com.

위로