TaskMetrics Class |
Namespace: Ookii.Jumbo.Jet
The TaskMetrics type exposes the following members.
Name | Description | |
---|---|---|
TaskMetrics | Initializes a new instance of the TaskMetrics class |
Name | Description | |
---|---|---|
DfsBytesRead |
Gets or sets the number of bytes read from the Distributed File System.
| |
DfsBytesWritten |
Gets or sets the number of bytes written to the Distributed File System.
| |
DiscardedPartitions |
Gets or sets the number of partitions that were discarded because the had been reassigned to another task.
| |
DynamicallyAssignedPartitions |
Gets or sets the number of partitions that the task received through dynamic partition assignment.
| |
InputBytes |
Gets or sets the number of bytes that this task had as input.
| |
InputRecords |
Gets or sets the number of records read.
| |
LocalBytesRead |
Gets or sets the number of bytes read from the local disk.
| |
LocalBytesWritten |
Gets or sets the number of bytes written to the local disk.
| |
NetworkBytesRead |
Gets or sets the number of bytes read over the network by the file and TCP channels.
| |
NetworkBytesWritten |
Gets or sets the number of bytes written over the network by the TCP channel.
| |
OutputBytes |
Gets or sets the number of bytes that this task had as output.
| |
OutputRecords |
Gets or sets the number of records written.
|
Name | Description | |
---|---|---|
Add |
Adds the value of the specified TaskMetrics instance to this instance.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
FromXml |
Creates a TaskMetrics instance from an XML element.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LogMetrics |
Writes the metrics to the log.
| |
ToString |
Returns a string representation of the TaskMetrics object.
(Overrides ObjectToString.) | |
ToXml |
Returns the value of this TaskMetrics object as an XElement.
|
The InputRecords, InputBytes, OutputRecords and OutputBytes properties provide information about the amount of data processed and generated by this task. They do not take compression or the source or destination of the data into account.
The remaining properties provide information about the amount of I/O activity performed by the task. For instance LocalBytesRead tells you how much data was read from the local disk. This can include data that was first written to the disk by a channel or record reader and then read again. Because of this and things like compression, this number doesn't need to match InputBytes.