Github user keith-turner commented on a diff in the pull request:

    https://github.com/apache/accumulo/pull/210#discussion_r99182561
  
    --- Diff: 
server/base/src/main/java/org/apache/accumulo/server/client/ClientServiceHandler.java
 ---
    @@ -194,10 +194,14 @@ public void grantSystemPermission(TInfo tinfo, 
TCredentials credentials, String
       }
     
       @Override
    -  public void grantTablePermission(TInfo tinfo, TCredentials credentials, 
String user, String tableName, byte permission) throws ThriftSecurityException,
    -      ThriftTableOperationException {
    +  public void grantTablePermission(TInfo tinfo, TCredentials credentials, 
String user, String tableName, byte permission) throws TException {
         String tableId = checkTableId(instance, tableName, 
TableOperation.PERMISSION);
    -    String namespaceId = Tables.getNamespaceId(instance, tableId);
    +    String namespaceId;
    +    try {
    +      namespaceId = Tables.getNamespaceId(instance, tableId);
    +    } catch (TableNotFoundException e) {
    +      throw new TException(e);
    --- End diff --
    
    I am not sure what the behavior of this is.  What will it cause to happen 
on the client side?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to