Search in sources :

Example 6 with FileSystemMasterClient

use of alluxio.worker.file.FileSystemMasterClient in project alluxio by Alluxio.

the class TableMasterClientTest method before.

@Before
public final void before() throws Exception {
    mFileSystem = mLocalAlluxioClusterResource.get().getClient();
    MasterClientContext context = MasterClientContext.newBuilder(ClientContext.create(ServerConfiguration.global())).build();
    mTableMasterClient = new RetryHandlingTableMasterClient(context);
    mFSMasterClient = new FileSystemMasterClient(context);
}
Also used : FileSystemMasterClient(alluxio.worker.file.FileSystemMasterClient) MasterClientContext(alluxio.master.MasterClientContext) Before(org.junit.Before)

Aggregations

FileSystemMasterClient (alluxio.worker.file.FileSystemMasterClient)6 Before (org.junit.Before)5 AlluxioURI (alluxio.AlluxioURI)3 Sessions (alluxio.Sessions)3 UfsManager (alluxio.underfs.UfsManager)3 URIStatus (alluxio.client.file.URIStatus)2 InStreamOptions (alluxio.client.file.options.InStreamOptions)2 FileInfo (alluxio.wire.FileInfo)2 BlockMasterClientPool (alluxio.worker.block.BlockMasterClientPool)2 DefaultBlockWorker (alluxio.worker.block.DefaultBlockWorker)2 TieredBlockStore (alluxio.worker.block.TieredBlockStore)2 BlockWorkerDataReader (alluxio.client.block.stream.BlockWorkerDataReader)1 FileSystemContext (alluxio.client.file.FileSystemContext)1 OpenFilePOptions (alluxio.grpc.OpenFilePOptions)1 MasterClientContext (alluxio.master.MasterClientContext)1 BlockInfo (alluxio.wire.BlockInfo)1 FileBlockInfo (alluxio.wire.FileBlockInfo)1 BlockMasterClient (alluxio.worker.block.BlockMasterClient)1 File (java.io.File)1 InetSocketAddress (java.net.InetSocketAddress)1