/** * Instantiates a new BLOB cache. * * @param blobClientConfig * global configuration * @param blobView * (distributed) blob store file system to retrieve files from first * @param serverAddress * address of the {@link BlobServer} to use for fetching files from or {@code null} if none yet * @throws IOException * thrown if the (local or distributed) file storage cannot be created or is not usable */ public BlobCacheService( final Configuration blobClientConfig, final BlobView blobView, @Nullable final InetSocketAddress serverAddress) throws IOException { this(new PermanentBlobCache(blobClientConfig, blobView, serverAddress), new TransientBlobCache(blobClientConfig, serverAddress)); }
/** * Instantiates a new BLOB cache. * * @param blobClientConfig * global configuration * @param blobView * (distributed) blob store file system to retrieve files from first * @param serverAddress * address of the {@link BlobServer} to use for fetching files from or {@code null} if none yet * @throws IOException * thrown if the (local or distributed) file storage cannot be created or is not usable */ public BlobCacheService( final Configuration blobClientConfig, final BlobView blobView, @Nullable final InetSocketAddress serverAddress) throws IOException { this(new PermanentBlobCache(blobClientConfig, blobView, serverAddress), new TransientBlobCache(blobClientConfig, serverAddress)); }
/** * Instantiates a new BLOB cache. * * @param blobClientConfig * global configuration * @param blobView * (distributed) blob store file system to retrieve files from first * @param serverAddress * address of the {@link BlobServer} to use for fetching files from or {@code null} if none yet * @throws IOException * thrown if the (local or distributed) file storage cannot be created or is not usable */ public BlobCacheService( final Configuration blobClientConfig, final BlobView blobView, @Nullable final InetSocketAddress serverAddress) throws IOException { this(new PermanentBlobCache(blobClientConfig, blobView, serverAddress), new TransientBlobCache(blobClientConfig, serverAddress)); }
try { permanentBlobCache = new PermanentBlobCache(config, highAvailabilityServices.createBlobStore(), serverAddress); } catch (IOException e) { throw new JobRetrievalException(
try { permanentBlobCache = new PermanentBlobCache(config, highAvailabilityServices.createBlobStore(), serverAddress); } catch (IOException e) { throw new JobRetrievalException(
try { permanentBlobCache = new PermanentBlobCache(config, highAvailabilityServices.createBlobStore(), serverAddress); } catch (IOException e) { throw new JobRetrievalException(