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 2019/03/07 22:46:34 UTC

[accumulo] branch master updated: Format ITs

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 f9c3c64  Format ITs
f9c3c64 is described below

commit f9c3c6493ddb05f446682bcb3d1e2475cf749f47
Author: Mike Miller <mm...@apache.org>
AuthorDate: Thu Mar 7 17:45:59 2019 -0500

    Format ITs
---
 test/src/main/java/org/apache/accumulo/test/OrIteratorIT.java       | 1 -
 .../org/apache/accumulo/test/mapreduce/AccumuloOutputFormatIT.java  | 6 ++----
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/test/src/main/java/org/apache/accumulo/test/OrIteratorIT.java b/test/src/main/java/org/apache/accumulo/test/OrIteratorIT.java
index 1354cc5..9c39c45 100644
--- a/test/src/main/java/org/apache/accumulo/test/OrIteratorIT.java
+++ b/test/src/main/java/org/apache/accumulo/test/OrIteratorIT.java
@@ -45,7 +45,6 @@ import org.apache.accumulo.core.data.Value;
 import org.apache.accumulo.core.iterators.OrIterator;
 import org.apache.accumulo.harness.AccumuloClusterHarness;
 import org.apache.hadoop.io.Text;
-import org.junit.Assert;
 import org.junit.Test;
 
 public class OrIteratorIT extends AccumuloClusterHarness {
diff --git a/test/src/main/java/org/apache/accumulo/test/mapreduce/AccumuloOutputFormatIT.java b/test/src/main/java/org/apache/accumulo/test/mapreduce/AccumuloOutputFormatIT.java
index 020a00f..392bf50 100644
--- a/test/src/main/java/org/apache/accumulo/test/mapreduce/AccumuloOutputFormatIT.java
+++ b/test/src/main/java/org/apache/accumulo/test/mapreduce/AccumuloOutputFormatIT.java
@@ -26,10 +26,8 @@ import java.io.IOException;
 import java.util.Iterator;
 import java.util.Map.Entry;
 
-import org.apache.accumulo.core.client.Accumulo;
 import org.apache.accumulo.core.client.AccumuloClient;
 import org.apache.accumulo.core.client.BatchWriter;
-import org.apache.accumulo.core.client.BatchWriterConfig;
 import org.apache.accumulo.core.client.MutationsRejectedException;
 import org.apache.accumulo.core.client.Scanner;
 import org.apache.accumulo.core.client.TableNotFoundException;
@@ -138,8 +136,8 @@ public class AccumuloOutputFormatIT extends AccumuloClusterHarness {
     }
   }
 
-  public static void insertData(AccumuloClient client, String table) throws TableNotFoundException,
-      MutationsRejectedException {
+  public static void insertData(AccumuloClient client, String table)
+      throws TableNotFoundException, MutationsRejectedException {
     try (BatchWriter bw = client.createBatchWriter(table)) {
       for (int i = 0; i < 100; i++) {
         Mutation m = new Mutation(new Text(String.format("%09x", i + 1)));