Search in sources :

Example 6 with HcfsTestConnectorInterface

use of org.apache.hadoop.fs.test.connector.HcfsTestConnectorInterface in project glusterfs-hadoop by gluster.

the class HCFSTestWorkingDir method setUp.

@Before
public void setUp() throws Exception {
    HcfsTestConnectorInterface connector = HcfsTestConnectorFactory.getHcfsTestConnector();
    fSys = connector.create();
}
Also used : HcfsTestConnectorInterface(org.apache.hadoop.fs.test.connector.HcfsTestConnectorInterface) Before(org.junit.Before)

Example 7 with HcfsTestConnectorInterface

use of org.apache.hadoop.fs.test.connector.HcfsTestConnectorInterface in project glusterfs-hadoop by gluster.

the class HcfsMainOperationsBaseTest method setUp.

@Before
public void setUp() throws Exception {
    HcfsTestConnectorInterface connector = HcfsTestConnectorFactory.getHcfsTestConnector();
    fSys = connector.create();
    super.setUp();
}
Also used : HcfsTestConnectorInterface(org.apache.hadoop.fs.test.connector.HcfsTestConnectorInterface) Before(org.junit.Before)

Aggregations

HcfsTestConnectorInterface (org.apache.hadoop.fs.test.connector.HcfsTestConnectorInterface)7 BeforeClass (org.junit.BeforeClass)4 Before (org.junit.Before)2 File (java.io.File)1 FileOutputStream (java.io.FileOutputStream)1 IOException (java.io.IOException)1 Configuration (org.apache.hadoop.conf.Configuration)1