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(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 List<String>
getRFilePaths(AccumuloClient c, String tableName)
static String
readAll(InputStream is)
static HttpResponse<String>
readWebPage(URL url)
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
-
getRFilePaths
public static List<String> getRFilePaths(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
-
readWebPage
public static HttpResponse<String> readWebPage(URL url) throws IOException, InterruptedException, URISyntaxException
-
readAll
public static String readAll(InputStream is) throws IOException
- Throws:
IOException
-
assertNoDanglingFateLocks
public static void assertNoDanglingFateLocks(AccumuloCluster cluster)
-
-