Class FunctionalTestUtils
- java.lang.Object
-
- org.apache.accumulo.test.functional.FunctionalTestUtils
-
public class FunctionalTestUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description FunctionalTestUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
assertNoDanglingFateLocks(ClientContext context, AccumuloCluster cluster)
static void
checkSplits(AccumuloClient c, String table, int min, int max)
static int
countRFiles(AccumuloClient c, String tableName)
static void
createRFiles(AccumuloClient c, org.apache.hadoop.fs.FileSystem fs, String path, int rows, int splits, int threads)
static String
readAll(InputStream is)
static SortedSet<org.apache.hadoop.io.Text>
splits(String[] splits)
-
-
-
Method Detail
-
countRFiles
public static int countRFiles(AccumuloClient c, String tableName) throws Exception
- Throws:
Exception
-
checkSplits
public static void checkSplits(AccumuloClient c, String table, int min, int max) throws Exception
- Throws:
Exception
-
createRFiles
public static void createRFiles(AccumuloClient c, org.apache.hadoop.fs.FileSystem fs, String path, int rows, int splits, int threads) throws Exception
- Throws:
Exception
-
readAll
public static String readAll(InputStream is) throws IOException
- Throws:
IOException
-
assertNoDanglingFateLocks
public static void assertNoDanglingFateLocks(ClientContext context, AccumuloCluster cluster)
-
-