Class HdfsRepositorySettingsDescriptor
Inheritance
HdfsRepositorySettingsDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class HdfsRepositorySettingsDescriptor : DescriptorBase<HdfsRepositorySettingsDescriptor, IHdfsRepositorySettings>, IDescriptor, IHdfsRepositorySettings, IRepositorySettings
Methods
|
Edit this page
View Source
ChunkSize(string)
Big files can be broken down into chunks during snapshotting if needed.
The chunk size can be specified in bytes or by using size value notation,
i.e. 1g, 10m, 5k. Disabled by default
Declaration
public HdfsRepositorySettingsDescriptor ChunkSize(string chunkSize)
Parameters
| Type |
Name |
Description |
| string |
chunkSize |
|
Returns
|
Edit this page
View Source
Compress(bool?)
When set to true metadata files are stored in compressed format. This setting doesn't
affect index files that are already compressed by default. Defaults to false.
Declaration
public HdfsRepositorySettingsDescriptor Compress(bool? compress = true)
Parameters
| Type |
Name |
Description |
| bool? |
compress |
|
Returns
|
Edit this page
View Source
ConcurrentStreams(int?)
Throttles the number of streams (per node) preforming snapshot operation. Defaults to 5
Declaration
public HdfsRepositorySettingsDescriptor ConcurrentStreams(int? concurrentStreams)
Parameters
| Type |
Name |
Description |
| int? |
concurrentStreams |
|
Returns
|
Edit this page
View Source
ConfigurationLocation(string)
Hadoop configuration XML to be loaded (use commas for multi values)
Declaration
public HdfsRepositorySettingsDescriptor ConfigurationLocation(string configurationLocation)
Parameters
| Type |
Name |
Description |
| string |
configurationLocation |
|
Returns
|
Edit this page
View Source
InlinedHadoopConfiguration(Func<FluentDictionary<string, object>, FluentDictionary<string, object>>)
'inlined' key=value added to the Hadoop configuration
Declaration
public HdfsRepositorySettingsDescriptor InlinedHadoopConfiguration(Func<FluentDictionary<string, object>, FluentDictionary<string, object>> inlineConfig)
Parameters
Returns
|
Edit this page
View Source
LoadDefaults(bool?)
Whether to load the default Hadoop configuration (default) or not
Declaration
public HdfsRepositorySettingsDescriptor LoadDefaults(bool? loadDefaults = true)
Parameters
| Type |
Name |
Description |
| bool? |
loadDefaults |
|
Returns
|
Edit this page
View Source
Path(string)
The path with the file-system where data is stored/loaded. Required
Declaration
public HdfsRepositorySettingsDescriptor Path(string path)
Parameters
| Type |
Name |
Description |
| string |
path |
|
Returns
|
Edit this page
View Source
Uri(string)
The Hadoop file-system URI. Optional
Declaration
public HdfsRepositorySettingsDescriptor Uri(string uri)
Parameters
| Type |
Name |
Description |
| string |
uri |
|
Returns
Implements
Extension Methods