public class TestFSUtils extends Object
FSUtils.| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
| Constructor and Description |
|---|
TestFSUtils() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkStreamCapabilitiesOnHdfsDataOutputStream() |
void |
setUp() |
void |
testcomputeHDFSBlocksDistribution() |
void |
testCopyFilesParallel() |
void |
testDeleteAndExists() |
void |
testDFSHedgedReadMetrics()
Ugly test that ensures we can get at the hedged read counters in dfsclient.
|
void |
testFilteredStatusDoesNotThrowOnNotFound() |
void |
testIsHDFS() |
void |
testPermMask() |
void |
testRenameAndSetModifyTime() |
void |
testSetStoragePolicyDefault() |
void |
testSetStoragePolicyInvalid() |
void |
testSetStoragePolicyValidButMaybeNotPresent() |
void |
testVersion() |
public static final HBaseClassTestRule CLASS_RULE
public TestFSUtils()
public void setUp() throws IOException
IOExceptionpublic void testIsHDFS() throws Exception
Exceptionpublic void testcomputeHDFSBlocksDistribution() throws Exception
Exceptionpublic void testVersion() throws DeserializationException, IOException
DeserializationExceptionIOExceptionpublic void testPermMask() throws Exception
Exceptionpublic void testDeleteAndExists() throws Exception
Exceptionpublic void testFilteredStatusDoesNotThrowOnNotFound() throws Exception
Exceptionpublic void testRenameAndSetModifyTime() throws Exception
Exceptionpublic void testSetStoragePolicyDefault() throws Exception
Exceptionpublic void testSetStoragePolicyValidButMaybeNotPresent() throws Exception
Exceptionpublic void testSetStoragePolicyInvalid() throws Exception
Exceptionpublic void testDFSHedgedReadMetrics() throws Exception
Exceptionpublic void testCopyFilesParallel() throws Exception
Exceptionpublic void checkStreamCapabilitiesOnHdfsDataOutputStream() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.