@Test public void testGetConfigBuilder() throws FileSystemException, MetaStoreException { NamedClusterProvider provider = new NamedClusterProvider( hdfsLocator, ncService, fileSystemManager, fileNameParser, scheme, metastoreLocator ); FileSystemConfigBuilder builder = provider.getConfigBuilder(); assertNotNull( builder ); assertTrue( builder instanceof NamedClusterConfigBuilder ); }
@Override public FileSystemConfigBuilder getConfigBuilder() { return NamedClusterConfigBuilder.getInstance( metaStoreService, namedClusterService ); }
NamedClusterProvider extends HDFSFileProvider implements VfsEmbeddedFileSystemCloser { @Override public FileSystemConfigBuilder getConfigBuilder() { return NamedClusterConfigBuilder.getInstance( metaStoreService, namedClusterService ); } }
NamedClusterProvider extends HDFSFileProvider implements VfsEmbeddedFileSystemCloser { @Override public FileSystemConfigBuilder getConfigBuilder() { return NamedClusterConfigBuilder.getInstance( metaStoreService, namedClusterService ); } NamedClusterProvider( HadoopFileSystemLocator hadoopFileSystemLocator,
                               NamedClusterService namedClusterService,
                               FileNameParser fileNameParser,
                               String[] schemes,
                               MetastoreLocatorOsgi metaStore );  NamedClusterProvider( HadoopFileSystemLocator hadoopFileSystemLocator,
                               NamedClusterService namedClusterService,
                               FileNameParser fileNameParser,
                               String schema,
                               MetastoreLocatorOsgi metaStore );  NamedClusterProvider( HadoopFileSystemLocator hadoopFileSystemLocator,
                               NamedClusterService namedClusterService,
                               DefaultFileSystemManager fileSystemManager,
                               FileNameParser fileNameParser,
                               String[] schemes,
                               MetastoreLocatorOsgi metaStore ); }
NamedClusterProvider extends HDFSFileProvider implements VfsEmbeddedFileSystemCloser { @Override public FileSystemConfigBuilder getConfigBuilder() { return NamedClusterConfigBuilder.getInstance( metaStoreService, namedClusterService ); } NamedClusterProvider( HadoopFileSystemLocator hadoopFileSystemLocator,
                               NamedClusterService namedClusterService,
                               FileNameParser fileNameParser,
                               String[] schemes,
                               MetastoreLocatorOsgi metaStore );  NamedClusterProvider( HadoopFileSystemLocator hadoopFileSystemLocator,
                               NamedClusterService namedClusterService,
                               FileNameParser fileNameParser,
                               String schema,
                               MetastoreLocatorOsgi metaStore );  NamedClusterProvider( HadoopFileSystemLocator hadoopFileSystemLocator,
                               NamedClusterService namedClusterService,
                               DefaultFileSystemManager fileSystemManager,
                               FileNameParser fileNameParser,
                               String[] schemes,
                               MetastoreLocatorOsgi metaStore ); @Override FileSystemConfigBuilder getConfigBuilder(); void closeFileSystem( String embeddedMetastoreKey ); }
NamedClusterProvider extends HDFSFileProvider implements VfsEmbeddedFileSystemCloser { @Override public FileSystemConfigBuilder getConfigBuilder() { return NamedClusterConfigBuilder.getInstance( metaStoreService, namedClusterService ); } NamedClusterProvider( HadoopFileSystemLocator hadoopFileSystemLocator,
                               NamedClusterService namedClusterService,
                               FileNameParser fileNameParser,
                               String[] schemes,
                               MetastoreLocatorOsgi metaStore );  NamedClusterProvider( HadoopFileSystemLocator hadoopFileSystemLocator,
                               NamedClusterService namedClusterService,
                               FileNameParser fileNameParser,
                               String schema,
                               MetastoreLocatorOsgi metaStore );  NamedClusterProvider( HadoopFileSystemLocator hadoopFileSystemLocator,
                               NamedClusterService namedClusterService,
                               DefaultFileSystemManager fileSystemManager,
                               FileNameParser fileNameParser,
                               String[] schemes,
                               MetastoreLocatorOsgi metaStore ); @Override FileSystemConfigBuilder getConfigBuilder(); void closeFileSystem( String embeddedMetastoreKey );  }