Package org.opensearch.repositories.hdfs
Class HdfsRepository
java.lang.Object
org.opensearch.common.component.AbstractLifecycleComponent
org.opensearch.repositories.blobstore.BlobStoreRepository
org.opensearch.repositories.hdfs.HdfsRepository
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,LifecycleComponent,Releasable,Repository
public final class HdfsRepository extends BlobStoreRepository
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.repositories.Repository
Repository.Factory -
Field Summary
Fields inherited from class org.opensearch.repositories.blobstore.BlobStoreRepository
ALLOW_CONCURRENT_MODIFICATION, BUFFER_SIZE_SETTING, bufferSize, CACHE_REPOSITORY_DATA, GLOBAL_METADATA_FORMAT, INDEX_FILE_PREFIX, INDEX_LATEST_BLOB, INDEX_METADATA_FORMAT, INDEX_SHARD_SNAPSHOT_FORMAT, INDEX_SHARD_SNAPSHOTS_FORMAT, metadata, METADATA_NAME_FORMAT, METADATA_PREFIX, SNAPSHOT_FORMAT, SNAPSHOT_NAME_FORMAT, SNAPSHOT_PREFIX, SUPPORT_URL_REPO, supportURLRepo, threadPool -
Constructor Summary
Constructors Constructor Description HdfsRepository(RepositoryMetadata metadata, Environment environment, NamedXContentRegistry namedXContentRegistry, ClusterService clusterService, RecoverySettings recoverySettings) -
Method Summary
Modifier and Type Method Description BlobPathbasePath()protected ByteSizeValuechunkSize()protected org.opensearch.repositories.hdfs.HdfsBlobStorecreateBlobStore()Methods inherited from class org.opensearch.repositories.blobstore.BlobStoreRepository
assertSnapshotOrGenericThread, blobContainer, blobStore, cleanup, cloneShardSnapshot, deleteSnapshots, doClose, doStart, doStop, endVerification, executeConsistentStateUpdate, finalizeSnapshot, getBlobStore, getMetadata, getRepositoryData, getRestoreThrottleTimeInNanos, getShardSnapshotStatus, getSnapshotGlobalMetadata, getSnapshotIndexMetaData, getSnapshotInfo, getSnapshotThrottleTimeInNanos, initializeSnapshot, isCompress, isReadOnly, loadShardSnapshot, maybeRateLimitRestores, maybeRateLimitSnapshots, restoreShard, shardContainer, snapshotShard, startVerification, stats, threadPool, toString, updateState, verify, writeIndexGenMethods inherited from class org.opensearch.common.component.AbstractLifecycleComponent
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opensearch.common.component.LifecycleComponent
addLifecycleListener, lifecycleState, removeLifecycleListener, start, stop
-
Constructor Details
-
HdfsRepository
public HdfsRepository(RepositoryMetadata metadata, Environment environment, NamedXContentRegistry namedXContentRegistry, ClusterService clusterService, RecoverySettings recoverySettings)
-
-
Method Details
-
createBlobStore
protected org.opensearch.repositories.hdfs.HdfsBlobStore createBlobStore()- Specified by:
createBlobStorein classBlobStoreRepository
-
basePath
- Specified by:
basePathin classBlobStoreRepository
-
chunkSize
- Overrides:
chunkSizein classBlobStoreRepository
-