Click or drag to resize
Grid Solutions Framework

HadoopReplicationProvider Class

Represents a provider of replication for the IArchive to Hadoop using FTP channel.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    GSF.AdaptersAdapter
      GSF.Historian.ReplicationReplicationProviderBase
        Hadoop.ReplicationHadoopReplicationProvider

Namespace: Hadoop.Replication
Assembly: Hadoop.Replication (in Hadoop.Replication.dll) Version: 2.4.181-beta
Syntax
public class HadoopReplicationProvider : ReplicationProviderBase
View Source

The HadoopReplicationProvider type exposes the following members.

Constructors
 NameDescription
Public methodHadoopReplicationProvider Initializes a new instance of the HadoopReplicationProvider class.
Top
Properties
 NameDescription
Public propertyApplyBufferPadding Gets or sets a boolean value that indicates whether the buffer used for computing file hash is to be padded with null bytes for replicating HDFS hashing bug.
Public propertyArchiveLocation Gets or sets the primary location of the IArchive.
(Inherited from ReplicationProviderBase)
Public propertyBytesPerCrc32 Gets or sets the number of bytes at which HDFS is configured to compute a CRC32.
Public propertyDeleteOriginalFiles Gets or sets a boolean value that indicates whether the original files are to be deleted after being replicated successfully.
Public propertyDomain Gets the AppDomain in which the Adapter is executing.
(Inherited from Adapter)
Public propertyEnabled Gets or sets a boolean value that indicates whether the Adapter is currently enabled.
(Inherited from Adapter)
Public propertyHashRequestAttempts Gets or sets the maximum number of requests to be made to the FTP server for HDFS file hash.
Public propertyHashRequestWaitTime Gets or set the time, in milliseconds, to wait between requests to the FTP server for HDFS file hash.
Public propertyHdfsBlockSize Gets or sets the size, in MB, of the data blocks for HDFS where the file resides.
Public propertyHostFile Gets or sets the path to the file where the Adapter is housed.
(Inherited from Adapter)
Public propertyIsDisposed Gets a flag that indicates whether the object has been disposed.
(Inherited from Adapter)
Public propertyMemoryUsage Gets the memory utilization of the Adapter in bytes if executing in a separate AppDomain, otherwise NaN.
(Inherited from Adapter)
Public propertyName Gets the unique identifier of the Adapter.
(Inherited from Adapter)
Public propertyPersistSettings Gets or sets a boolean value that indicates whether Adapter settings are to be saved to the config file.
(Inherited from Adapter)
Public propertyProcessorUsage Gets the % processor utilization of the Adapter if executing in a separate AppDomain otherwise NaN.
(Inherited from Adapter)
Public propertyReplicaLocation Gets or sets the mirrored location of the IArchive.
(Inherited from ReplicationProviderBase)
Public propertyReplicationInterval Gets or sets the interval in minutes at which the IArchive is to be replicated.
(Inherited from ReplicationProviderBase)
Public propertySettingsCategory Gets or sets the category under which Adapter settings are to be saved to the config file if the PersistSettings property is set to true.
(Inherited from Adapter)
Public propertyStatus Gets the descriptive status of the Adapter.
(Inherited from Adapter)
Public propertyTypeName Gets or sets the text representation of the Adapter's TypeName.
(Inherited from Adapter)
Top
Methods
 NameDescription
Public methodStatic memberComputeHdfsFileHash Computes a MD5 hash of the file content using the algorithm used by HDFS.
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
Public methodDispose Releases all the resources used by the Adapter.
(Inherited from Adapter)
Protected methodDispose(Boolean) Releases the unmanaged resources used by the replication provider and optionally releases the managed resources.
(Inherited from ReplicationProviderBase)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Releases the unmanaged resources before the Adapter is reclaimed by GC.
(Inherited from Adapter)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInitialize Initializes the replication provider.
(Inherited from ReplicationProviderBase)
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Public methodLoadSettings Loads saved HadoopReplicationProvider settings from the config file if the PersistSettings property is set to true.
(Overrides ReplicationProviderBaseLoadSettings)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodMemberwiseClone(Boolean)Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject)
Protected methodOnDisposed Raises the Disposed event.
(Inherited from Adapter)
Protected methodOnExecutionException Raises the ExecutionException event.
(Inherited from Adapter)
Protected methodOnReplicationComplete Raises the ReplicationComplete event.
(Inherited from ReplicationProviderBase)
Protected methodOnReplicationException Raises the ReplicationException event.
(Inherited from ReplicationProviderBase)
Protected methodOnReplicationProgress Raises the ReplicationProgress event.
(Inherited from ReplicationProviderBase)
Protected methodOnReplicationStart Raises the ReplicationStart event.
(Inherited from ReplicationProviderBase)
Protected methodOnStatusUpdate Raises the StatusUpdate event.
(Inherited from Adapter)
Public methodReplicate Replicates the IArchive.
(Inherited from ReplicationProviderBase)
Protected methodReplicateArchive Replicates the IArchive.
(Overrides ReplicationProviderBaseReplicateArchive)
Public methodSaveSettings Saves HadoopReplicationProvider settings to the config file if the PersistSettings property is set to true.
(Overrides ReplicationProviderBaseSaveSettings)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventDisposed Occurs when Adapter is disposed.
(Inherited from Adapter)
Public eventExecutionException Occurs when the IAdapter encounters an Exception during execution.
(Inherited from Adapter)
Public eventReplicationComplete Occurs when the process of replicating the IArchive is complete.
(Inherited from ReplicationProviderBase)
Public eventReplicationException Occurs when an Exception is encountered during the replication process of IArchive.
(Inherited from ReplicationProviderBase)
Public eventReplicationProgress Occurs when the IArchive is being replicated.
(Inherited from ReplicationProviderBase)
Public eventReplicationStart Occurs when the process of replicating the IArchive is started.
(Inherited from ReplicationProviderBase)
Public eventStatusUpdate Occurs when the Adapter wants to provide a status update.
(Inherited from Adapter)
Top
Fields
 NameDescription
Public fieldStatic memberDefaultApplyBufferPadding Specifies the default value for the ApplyBufferPadding property.
Public fieldStatic memberDefaultBytesPerCrc32 Specifies the default value for the BytesPerCrc32 property.
Public fieldStatic memberDefaultDeleteOriginalFiles Specifies the default value for the DeleteOriginalFiles property.
Public fieldStatic memberDefaultHashRequestAttempts Specifies the default value for the HashRequestAttempts property.
Public fieldStatic memberDefaultHashRequestWaitTime Specifies the default value for the HashRequestWaitTime property.
Public fieldStatic memberDefaultHdfsBlockSize Specifies the default value for the HdfsBlockSize property.
Top
See Also