use of org.apache.hadoop.fs.test.connector.HcfsTestConnectorInterface in project glusterfs-hadoop by gluster.
the class HcfsTestGetFileBlockLocations method setUp.
@Override
protected void setUp() throws IOException {
try {
HcfsTestConnectorInterface connector = HcfsTestConnectorFactory.getHcfsTestConnector();
Configuration cfg = connector.createConfiguration();
cfg.writeXml(new FileOutputStream(new File("/tmp/core-site.xml")));
Configuration.addDefaultResource("/tmp/core-site.xml");
cfg.writeXml(System.out);
} catch (Exception e) {
throw new IOException(e);
}
super.setUp();
}
use of org.apache.hadoop.fs.test.connector.HcfsTestConnectorInterface in project glusterfs-hadoop by gluster.
the class HcfsUmaskTest method setup.
@BeforeClass
public static void setup() throws Exception {
HcfsTestConnectorInterface connector = HcfsTestConnectorFactory.getHcfsTestConnector();
fs = connector.create();
}
use of org.apache.hadoop.fs.test.connector.HcfsTestConnectorInterface in project glusterfs-hadoop by gluster.
the class GlusterMultipleVolumeTest method setup.
@BeforeClass
public static void setup() throws Exception {
HcfsTestConnectorInterface connector = HcfsTestConnectorFactory.getHcfsTestConnector();
config = connector.createConfiguration();
}
use of org.apache.hadoop.fs.test.connector.HcfsTestConnectorInterface in project glusterfs-hadoop by gluster.
the class HCFSPerformanceIOTests method setup.
@BeforeClass
public static void setup() throws Exception {
HcfsTestConnectorInterface connector = HcfsTestConnectorFactory.getHcfsTestConnector();
fs = connector.create();
}
use of org.apache.hadoop.fs.test.connector.HcfsTestConnectorInterface in project glusterfs-hadoop by gluster.
the class HcfsFileSystemTest method setup.
@BeforeClass
public static void setup() throws Exception {
HcfsTestConnectorInterface connector = HcfsTestConnectorFactory.getHcfsTestConnector();
fs = connector.create();
}
Aggregations