Re: [DISCUSS] 2.0 time to remove table owners?

2017-09-27 Thread Chia-Ping Tsai
Are you going to file a jira? It appears that we agree to remove the table 
owner.

On 2017-09-26 12:07, Sean Busbey  wrote: 
> In HBASE-6188 we deprecated table owners for the 0.95 release. What do
> folks think about removing it for the 2.0 release?
> 


Re: [DISCUSS] 2.0 time to remove table owners?

2017-09-26 Thread Gary Helmling
>
>
> On 9/26/17 11:27 AM, Andrew Purtell wrote:
> > It would be a major functional change. Someone might be relying on the
> > table ownership semantic. However, 2.0 would be the next opportunity to
> > introduce a change of this type before 3.0.
> >
> > I don't think we need table owners. It is a shortcut in the permissions
> > model which is good for usability but bad for adding complexity. Removing
> > the shortcut would make it more likely we'd see odd situations like
> where a
> > user can create a table but surprisingly lack other permissions, but that
> > would be a consequence of mismanagement of grants by cluster admins, not
> a
> > bug or functional gap introduced by removing table ownership.
>
> +1 well put.
>
>
+1 as well.

Table owners were originally an approximation of delegated admin
functionality -- basically you can admin what you create.

The metadata aspect  of table owners (HBASE-11996) still seems useful.
But, like Andy says, the access control aspect just adds some implicit
complexity without much benefit.  For a delegated admin scenario, making
this explicit with ADMIN permission over a specific table or namespace
would be a more manageable and more transparent approach.

Removing the built-in grants generated with table owners seems like a good
step forward.


Re: [DISCUSS] 2.0 time to remove table owners?

2017-09-26 Thread Josh Elser



On 9/26/17 11:27 AM, Andrew Purtell wrote:

It would be a major functional change. Someone might be relying on the
table ownership semantic. However, 2.0 would be the next opportunity to
introduce a change of this type before 3.0.

I don't think we need table owners. It is a shortcut in the permissions
model which is good for usability but bad for adding complexity. Removing
the shortcut would make it more likely we'd see odd situations like where a
user can create a table but surprisingly lack other permissions, but that
would be a consequence of mismanagement of grants by cluster admins, not a
bug or functional gap introduced by removing table ownership.


+1 well put.


On Tue, Sep 26, 2017 at 8:19 AM, Chia-Ping Tsai  wrote:


The table owner is used by AC, Is BC broken if we remove the table owner?
BTW, https://issues.apache.org/jira/browse/HBASE-11996 try to make the
owner carry more information, such as email and webpage.

On 2017-09-26 12:07, Sean Busbey  wrote:

In HBASE-6188 we deprecated table owners for the 0.95 release. What do
folks think about removing it for the 2.0 release?









Re: [DISCUSS] 2.0 time to remove table owners?

2017-09-26 Thread Andrew Purtell
It would be a major functional change. Someone might be relying on the
table ownership semantic. However, 2.0 would be the next opportunity to
introduce a change of this type before 3.0.

I don't think we need table owners. It is a shortcut in the permissions
model which is good for usability but bad for adding complexity. Removing
the shortcut would make it more likely we'd see odd situations like where a
user can create a table but surprisingly lack other permissions, but that
would be a consequence of mismanagement of grants by cluster admins, not a
bug or functional gap introduced by removing table ownership.


On Tue, Sep 26, 2017 at 8:19 AM, Chia-Ping Tsai  wrote:

> The table owner is used by AC, Is BC broken if we remove the table owner?
> BTW, https://issues.apache.org/jira/browse/HBASE-11996 try to make the
> owner carry more information, such as email and webpage.
>
> On 2017-09-26 12:07, Sean Busbey  wrote:
> > In HBASE-6188 we deprecated table owners for the 0.95 release. What do
> > folks think about removing it for the 2.0 release?
> >
>



-- 
Best regards,
Andrew

Words like orphans lost among the crosstalk, meaning torn from truth's
decrepit hands
   - A23, Crosstalk


Re: [DISCUSS] 2.0 time to remove table owners?

2017-09-26 Thread Chia-Ping Tsai
The table owner is used by AC. Does it break the BC if we remove the owner from 
TD? BTW, https://issues.apache.org/jira/browse/HBASE-11996 try to make the 
owner carry more fields, such as email and webpage.

On 2017-09-26 12:07, Sean Busbey  wrote: 
> In HBASE-6188 we deprecated table owners for the 0.95 release. What do
> folks think about removing it for the 2.0 release?
> 


Re: [DISCUSS] 2.0 time to remove table owners?

2017-09-26 Thread Chia-Ping Tsai
The table owner is used by AC, Is BC broken if we remove the table owner? BTW, 
https://issues.apache.org/jira/browse/HBASE-11996 try to make the owner carry 
more information, such as email and webpage.

On 2017-09-26 12:07, Sean Busbey  wrote: 
> In HBASE-6188 we deprecated table owners for the 0.95 release. What do
> folks think about removing it for the 2.0 release?
>