accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmil...@apache.org
Subject [accumulo] branch master updated: Fix formatting
Date Thu, 13 Dec 2018 22:35:37 GMT
This is an automated email from the ASF dual-hosted git repository.

mmiller pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/master by this push:
     new 9cde642  Fix formatting
9cde642 is described below

commit 9cde6427dce49c35b49d48cabc7366185c335db7
Author: Mike Miller <mmiller@apache.org>
AuthorDate: Thu Dec 13 17:35:13 2018 -0500

    Fix formatting
---
 .../org/apache/accumulo/harness/AccumuloClusterHarness.java | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/test/src/main/java/org/apache/accumulo/harness/AccumuloClusterHarness.java b/test/src/main/java/org/apache/accumulo/harness/AccumuloClusterHarness.java
index 97afa06..2ec891a 100644
--- a/test/src/main/java/org/apache/accumulo/harness/AccumuloClusterHarness.java
+++ b/test/src/main/java/org/apache/accumulo/harness/AccumuloClusterHarness.java
@@ -196,13 +196,12 @@ public abstract class AccumuloClusterHarness extends AccumuloITBase
             // Create the trace table
             client.tableOperations().create(traceTable);
 
-            // Trace user (which is the same kerberos principal as the system user, but using
a normal
-            // KerberosToken) needs
-            // to have the ability to read, write and alter the trace table
-            client.securityOperations()
-                .grantTablePermission(systemUser.getPrincipal(), traceTable, TablePermission.READ);
-            client.securityOperations()
-                .grantTablePermission(systemUser.getPrincipal(), traceTable, TablePermission.WRITE);
+            // Trace user (which is the same kerberos principal as the system user, but using
a
+            // normal KerberosToken) needs to be able to read, write and alter the trace
table
+            client.securityOperations().grantTablePermission(systemUser.getPrincipal(), traceTable,
+                TablePermission.READ);
+            client.securityOperations().grantTablePermission(systemUser.getPrincipal(), traceTable,
+                TablePermission.WRITE);
             client.securityOperations().grantTablePermission(systemUser.getPrincipal(), traceTable,
                 TablePermission.ALTER_TABLE);
           }


Mime
View raw message