You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ranger.apache.org by Aneela Saleem <an...@platalytics.com> on 2015/10/13 17:00:29 UTC

Testing policies on hbase columns

Hi all!

I am not very familiar to hbase and i have added a policy on one column of
a table in hbase using ranger admin ui. So i want to know how can i verify
that the policy has implemented on that column?

thanks

Re: Testing policies on hbase columns

Posted by Aneela Saleem <an...@platalytics.com>.
yes it worked for me :)

On Wed, Oct 14, 2015 at 10:46 PM, Don Bosco Durai <bo...@apache.org> wrote:

> Did it work for you?
>
> Thanks
>
> Bosco
>
>
> From: Aneela Saleem
> Reply-To: <us...@ranger.incubator.apache.org>
> Date: Wednesday, October 14, 2015 at 12:48 AM
> To: <us...@ranger.incubator.apache.org>
> Subject: Re: Testing policies on hbase columns
>
> Thanks Bosco!
>
> On Wed, Oct 14, 2015 at 12:39 PM, Don Bosco Durai <bo...@apache.org>
> wrote:
>
>> Aneela,
>>
>> For Hbase, Ranger follows the same behavior as Hbase. If the user has
>> permission to the column, the get will return the value and if the user
>> doesn’t have access to the column, then it won’t return anything.
>>
>> To test, you can try creating 2 users. Give permission to the column for
>> User A and don’t give anything to User B. Do a get for both the users. And
>> see the return values.
>>
>>
>> Bosco
>>
>>
>>
>>
>> From: Aneela Saleem
>> Reply-To: <us...@ranger.incubator.apache.org>
>> Date: Tuesday, October 13, 2015 at 8:00 AM
>> To: <us...@ranger.incubator.apache.org>
>> Subject: Testing policies on hbase columns
>>
>> Hi all!
>>
>> I am not very familiar to hbase and i have added a policy on one column
>> of a table in hbase using ranger admin ui. So i want to know how can i
>> verify that the policy has implemented on that column?
>>
>> thanks
>>
>>
>

Re: Testing policies on hbase columns

Posted by Don Bosco Durai <bo...@apache.org>.
Did it work for you?

Thanks

Bosco


From:  Aneela Saleem
Reply-To:  <us...@ranger.incubator.apache.org>
Date:  Wednesday, October 14, 2015 at 12:48 AM
To:  <us...@ranger.incubator.apache.org>
Subject:  Re: Testing policies on hbase columns

Thanks Bosco!

On Wed, Oct 14, 2015 at 12:39 PM, Don Bosco Durai <bo...@apache.org> wrote:
Aneela,

For Hbase, Ranger follows the same behavior as Hbase. If the user has permission to the column, the get will return the value and if the user doesn’t have access to the column, then it won’t return anything.

To test, you can try creating 2 users. Give permission to the column for User A and don’t give anything to User B. Do a get for both the users. And see the return values.


Bosco




From:  Aneela Saleem
Reply-To:  <us...@ranger.incubator.apache.org>
Date:  Tuesday, October 13, 2015 at 8:00 AM
To:  <us...@ranger.incubator.apache.org>
Subject:  Testing policies on hbase columns

Hi all!

I am not very familiar to hbase and i have added a policy on one column of a table in hbase using ranger admin ui. So i want to know how can i verify that the policy has implemented on that column?

thanks



Re: Testing policies on hbase columns

Posted by Aneela Saleem <an...@platalytics.com>.
Thanks Bosco!

On Wed, Oct 14, 2015 at 12:39 PM, Don Bosco Durai <bo...@apache.org> wrote:

> Aneela,
>
> For Hbase, Ranger follows the same behavior as Hbase. If the user has
> permission to the column, the get will return the value and if the user
> doesn’t have access to the column, then it won’t return anything.
>
> To test, you can try creating 2 users. Give permission to the column for
> User A and don’t give anything to User B. Do a get for both the users. And
> see the return values.
>
>
> Bosco
>
>
>
>
> From: Aneela Saleem
> Reply-To: <us...@ranger.incubator.apache.org>
> Date: Tuesday, October 13, 2015 at 8:00 AM
> To: <us...@ranger.incubator.apache.org>
> Subject: Testing policies on hbase columns
>
> Hi all!
>
> I am not very familiar to hbase and i have added a policy on one column of
> a table in hbase using ranger admin ui. So i want to know how can i verify
> that the policy has implemented on that column?
>
> thanks
>
>

Re: Testing policies on hbase columns

Posted by Don Bosco Durai <bo...@apache.org>.
Aneela,

For Hbase, Ranger follows the same behavior as Hbase. If the user has permission to the column, the get will return the value and if the user doesn’t have access to the column, then it won’t return anything.

To test, you can try creating 2 users. Give permission to the column for User A and don’t give anything to User B. Do a get for both the users. And see the return values.


Bosco




From:  Aneela Saleem
Reply-To:  <us...@ranger.incubator.apache.org>
Date:  Tuesday, October 13, 2015 at 8:00 AM
To:  <us...@ranger.incubator.apache.org>
Subject:  Testing policies on hbase columns

Hi all!

I am not very familiar to hbase and i have added a policy on one column of a table in hbase using ranger admin ui. So i want to know how can i verify that the policy has implemented on that column?

thanks