Merge branch '1.7'
Conflicts:
core/src/test/java/org/apache/accumulo/core/util/ByteBufferUtilTest.java
test/src/main/java/org/apache/accumulo/test/ConditionalWriterIT.java
test/src/main/java/org/apache/accumulo/test/functional/DeleteIT.java
test/src/main/java/org/apache/accumulo/test/functional/ExamplesIT.java
test/src/main/java/org/apache/accumulo/test/functional/RestartIT.java
test/src/main/java/org/apache/accumulo/test/functional/RestartStressIT.java
test/src/main/java/org/apache/accumulo/test/functional/SplitIT.java
test/src/test/java/org/apache/accumulo/test/AccumuloOutputFormatIT.java
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/2c8088e9
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/2c8088e9
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/2c8088e9
Branch: refs/heads/master
Commit: 2c8088e99d6820449e2b364162fb9bd03d212f38
Parents: 1c696a9 a706b01
Author: Christopher Tubbs
Authored: Tue Feb 2 22:08:12 2016 -0500
Committer: Christopher Tubbs
Committed: Tue Feb 2 22:08:12 2016 -0500
--
.../core/file/rfile/VisMetricsGatherer.java | 5 +++--
.../accumulo/core/util/ByteBufferUtilTest.java | 20 ++--
.../core/util/UnsynchronizedBufferTest.java | 10 +-
.../apache/accumulo/proxy/ProxyServerTest.java | 5 ++---
.../server/util/FileSystemMonitorTest.java | 3 +--
.../providers/HdfsFileContentInfoFactory.java | 4 +++-
.../vfs/providers/HdfsFileSystem.java | 4 +++-
.../vfs/providers/HdfsRandomAccessContent.java | 5 +++--
.../accumulo/harness/MiniClusterHarness.java| 4 ++--
.../accumulo/test/ConditionalWriterIT.java | 6 +++---
.../accumulo/test/GenerateSequentialRFile.java | 4 ++--
.../org/apache/accumulo/test/ShellConfigIT.java | 4 ++--
.../accumulo/test/TransportCachingIT.java | 2 +-
.../functional/BulkSplitOptimizationIT.java | 2 +-
.../accumulo/test/functional/DeleteIT.java | 5 ++---
.../accumulo/test/functional/ExamplesIT.java| 2 +-
.../accumulo/test/functional/ReadWriteIT.java | 6 +++---
.../accumulo/test/functional/RestartIT.java | 13 ++---
.../test/functional/RestartStressIT.java| 9 -
.../accumulo/test/functional/ScanIdIT.java | 2 +-
.../accumulo/test/functional/SplitIT.java | 9 -
.../replication/merkle/cli/GenerateHashes.java | 5 +++--
22 files changed, 65 insertions(+), 64 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/accumulo/blob/2c8088e9/core/src/test/java/org/apache/accumulo/core/util/ByteBufferUtilTest.java
--
diff --cc
core/src/test/java/org/apache/accumulo/core/util/ByteBufferUtilTest.java
index d6e1b35,5a8c0dc..85a36fa
--- a/core/src/test/java/org/apache/accumulo/core/util/ByteBufferUtilTest.java
+++ b/core/src/test/java/org/apache/accumulo/core/util/ByteBufferUtilTest.java
@@@ -17,7 -17,8 +17,9 @@@
package org.apache.accumulo.core.util;
+ import static java.nio.charset.StandardCharsets.UTF_8;
+
+import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.io.IOException;
@@@ -54,16 -53,7 +54,16 @@@ public class ByteBufferUtilTest
throw new RuntimeException(e);
}
- Assert.assertEquals(expected, new String(baos.toByteArray(),
Charsets.UTF_8));
+ Assert.assertEquals(expected, new String(baos.toByteArray(), UTF_8));
+
+ByteArrayInputStream bais = ByteBufferUtil.toByteArrayInputStream(bb);
+byte[] buffer = new byte[expected.length()];
+try {
+ bais.read(buffer);
- Assert.assertEquals(expected, new String(buffer, Charsets.UTF_8));
++ Assert.assertEquals(expected, new String(buffer, UTF_8));
+} catch (IOException e) {
+ throw new RuntimeException(e);
+}
}
@Test
http://git-wip-us.apache.org/repos/asf/accumulo/blob/2c8088e9/test/src/main/java/org/apache/accumulo/harness/MiniClusterHarness.java
--
diff --cc test/src/main/java/org/apache/accumulo/harness/MiniClusterHarness.java
index d923593,000..f021e32
mode 100644,00..100644
--- a/test/src/main/java/org/apache/accumulo/harness/MiniClusterHarness.java
+++ b/test/src/main/java/org/apache/accumulo/harness/MiniClusterHarness.java
@@@ -1,242 -1,0 +1,242 @@@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache