You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by mm...@apache.org on 2018/12/13 22:35:37 UTC

[accumulo] branch master updated: Fix formatting

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 <mm...@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);
           }