Package org.apache.hadoop.fs.statistics
Class StreamStatisticNames
java.lang.Object
org.apache.hadoop.fs.statistics.StreamStatisticNames
These are common statistic names.
When adding new common statistic name constants, please make them unique. By convention, they are implicitly unique:
- The name of the constants are uppercase, words separated by underscores.
- The value of the constants are lowercase of the constant names.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringTotal count of times object stream factory was closed.static final StringTotal number of Data blocks allocated by an outputStream.static final StringTotal number of Data blocks released by an outputStream.static final StringNumber of bytes read from the buffer.static final StringNumber of bytes to upload from an OutputStream.static final StringNumber of bytes failed to upload to the object store.static final StringNumber of bytes uploaded successfully to the object store.static final StringNumber of task queue shrunk operations.static final StringTotal number of bytes read from readAhead.static final StringTotal number of bytes read from remote operations.static final StringTotal number of remote read operations performed.static final StringNumber of seeks in buffer.static final StringTotal number of blocks evicted from the disk cache.static final StringTrack duration of LRU cache eviction for disk cache.static final StringCount of Stream leaks from an application which is not cleaning up correctly.static final StringCount of times the TCP stream was aborted.static final StringTotal bytes of memory in use by this input stream.static final StringTotal number of active prefetch operations.static final StringTotal count of times an analytics input stream was opened.static final Stringcount/duration of acquiring a buffer and reading to it.static final StringTotal number of block in disk cache.static final StringBytes read from an input stream in read()/readVectored() calls.static final StringCount of bytes discarded by aborting an input stream .static final StringCount of bytes read and discarded when closing an input stream.static final StringA cache hit occurs when the request range can be satisfied by the data in the cache.static final StringTotal count of times an attempt to close an input stream was made.static final StringCount of times the TCP stream was closed.static final StringCount of exceptions raised during input stream reads.static final StringCount of readFully() operations in an input stream.static final StringTotal count of times an input stream to was opened.static final StringCount of read() operations in an input stream.static final StringCount of incomplete read() operations in an input stream, that is, when the bytes returned were less than that requested.static final StringTracks failures in footer parsing.static final StringTotal number of prefetching operations executed.static final StringBytes that were prefetched by the stream.static final Stringcount/duration of reading a remote block.static final Stringcount/duration of aborting a remote stream during stream IO IO.static final Stringcount/duration of closing a remote stream, possibly including draining the stream to recycle the HTTP connection.static final StringCount of executed seek operations which went backwards in a stream.static final StringCount of bytes moved backwards during seek operations in an input stream.static final StringCount of bytes read and discarded during seek() in an input stream.static final StringCount of bytes skipped during forward seek operations.static final StringCount of executed seek operations which went forward in an input stream.static final StringCount of seek operations in an input stream.static final StringCount of times the seek policy was dynamically changed in an input stream.static final StringCount bytes skipped inInputStream.skip()calls.static final StringCount ofInputStream.skip()calls.static final StringTotal count of bytes read from an input stream.static final StringCount of calls ofCanUnbuffer.unbuffer().static final StringCount of combined file ranges during readVectored() operation.static final StringCount of incoming file ranges during readVectored() operation.static final StringCount of readVectored() operations in an input stream.static final StringCount of bytes discarded during readVectored() operation in an input stream.static final StringCount of version mismatches encountered while reading an input stream.static final StringCount of block/partition uploads complete.static final StringCount of number of block uploads aborted.static final StringCount of block/partition uploads active.static final StringGauge of data queued to be written.static final StringCount of number of block uploads committed.static final StringGauge of block/partitions uploads queued to be written.static final String"Count of bytes written to output stream including all not yet uploaded.static final String"Count of stream write failures reported.static final StringCount of failures when finalizing a multipart upload: "stream_write_exceptions_completing_upload".static final StringTotal queue duration of all block uploads.static final Stringstatic final StringCount of total time taken for uploads to complete.static final StringTotal time spent on completing a PUT request.static final StringTotal time spent on waiting for a task to complete.static final StringNumber of times current buffer is written to the service. -
Method Summary
-
Field Details
-
STREAM_LEAKS
Count of Stream leaks from an application which is not cleaning up correctly. Value :"stream_leaks".- See Also:
-
STREAM_READ_ABORTED
Count of times the TCP stream was aborted. Value: "stream_aborted".- See Also:
-
STREAM_READ_BYTES
Bytes read from an input stream in read()/readVectored() calls. Does not include bytes read and then discarded in seek/close etc. These are the bytes returned to the caller. Value: "stream_read_bytes".- See Also:
-
STREAM_READ_BYTES_DISCARDED_ABORT
Count of bytes discarded by aborting an input stream . Value: "stream_read_bytes_discarded_in_abort".- See Also:
-
STREAM_READ_BYTES_DISCARDED_CLOSE
Count of bytes read and discarded when closing an input stream. Value: "stream_read_bytes_discarded_in_close".- See Also:
-
STREAM_READ_CLOSED
Count of times the TCP stream was closed. Value: "stream_read_closed".- See Also:
-
STREAM_READ_CLOSE_OPERATIONS
Total count of times an attempt to close an input stream was made. Value: "stream_read_close_operations".- See Also:
-
STREAM_READ_OPENED
Total count of times an input stream to was opened. For object stores, that means the count a GET request was initiated. Value: "stream_read_opened".- See Also:
-
STREAM_READ_ANALYTICS_OPENED
Total count of times an analytics input stream was opened. Value: "stream_read_analytics_opened".- See Also:
-
ANALYTICS_STREAM_FACTORY_CLOSED
Total count of times object stream factory was closed. Value: "analytics_stream_factory_closed".- See Also:
-
STREAM_READ_EXCEPTIONS
Count of exceptions raised during input stream reads. Value: "stream_read_exceptions".- See Also:
-
STREAM_READ_FULLY_OPERATIONS
Count of readFully() operations in an input stream. Value: "stream_read_fully_operations".- See Also:
-
STREAM_READ_OPERATIONS
Count of read() operations in an input stream. Value: "stream_read_operations".- See Also:
-
STREAM_READ_VECTORED_OPERATIONS
Count of readVectored() operations in an input stream. Value: "stream_read_vectored_operations".- See Also:
-
STREAM_READ_VECTORED_READ_BYTES_DISCARDED
Count of bytes discarded during readVectored() operation in an input stream. Value: "stream_read_vectored_read_bytes_discarded".- See Also:
-
STREAM_READ_VECTORED_INCOMING_RANGES
Count of incoming file ranges during readVectored() operation. Value: "stream_read_vectored_incoming_ranges"- See Also:
-
STREAM_READ_VECTORED_COMBINED_RANGES
Count of combined file ranges during readVectored() operation. Value: "stream_read_vectored_combined_ranges"- See Also:
-
STREAM_READ_OPERATIONS_INCOMPLETE
Count of incomplete read() operations in an input stream, that is, when the bytes returned were less than that requested. Value: "stream_read_operations_incomplete".- See Also:
-
STREAM_READ_REMOTE_STREAM_ABORTED
count/duration of aborting a remote stream during stream IO IO. Value: "stream_read_remote_stream_aborted".- See Also:
-
STREAM_READ_REMOTE_STREAM_DRAINED
count/duration of closing a remote stream, possibly including draining the stream to recycle the HTTP connection. Value: "stream_read_remote_stream_drain".- See Also:
-
STREAM_READ_VERSION_MISMATCHES
Count of version mismatches encountered while reading an input stream. Value: "stream_read_version_mismatches".- See Also:
-
STREAM_READ_SEEK_BACKWARD_OPERATIONS
Count of executed seek operations which went backwards in a stream. Value: "stream_read_seek_backward_operations".- See Also:
-
STREAM_READ_SEEK_BYTES_BACKWARDS
Count of bytes moved backwards during seek operations in an input stream. Value: "stream_read_bytes_backwards_on_seek".- See Also:
-
STREAM_READ_SEEK_BYTES_DISCARDED
Count of bytes read and discarded during seek() in an input stream. Value: "stream_read_seek_bytes_discarded".- See Also:
-
STREAM_READ_SEEK_BYTES_SKIPPED
Count of bytes skipped during forward seek operations. Value: "stream_read_seek_bytes_skipped".- See Also:
-
STREAM_READ_SEEK_FORWARD_OPERATIONS
Count of executed seek operations which went forward in an input stream. Value: "stream_read_seek_forward_operations".- See Also:
-
STREAM_READ_SEEK_POLICY_CHANGED
Count of times the seek policy was dynamically changed in an input stream. Value: "stream_read_seek_policy_changed".- See Also:
-
STREAM_READ_SEEK_OPERATIONS
Count of seek operations in an input stream. Value: "stream_read_seek_operations".- See Also:
-
STREAM_READ_SKIP_OPERATIONS
Count ofInputStream.skip()calls. Value: "stream_read_skip_operations".- See Also:
-
STREAM_READ_SKIP_BYTES
Count bytes skipped inInputStream.skip()calls. Value: "stream_read_skip_bytes".- See Also:
-
STREAM_READ_TOTAL_BYTES
Total count of bytes read from an input stream. Value: "stream_read_total_bytes".- See Also:
-
STREAM_READ_UNBUFFERED
Count of calls ofCanUnbuffer.unbuffer(). Value: "stream_read_unbuffered".- See Also:
-
STREAM_WRITE_EXCEPTIONS
"Count of stream write failures reported. Value: "stream_write_exceptions".- See Also:
-
STREAM_WRITE_EXCEPTIONS_COMPLETING_UPLOADS
Count of failures when finalizing a multipart upload: "stream_write_exceptions_completing_upload".- See Also:
-
STREAM_WRITE_BLOCK_UPLOADS
Count of block/partition uploads complete. Value: "stream_write_block_uploads".- See Also:
-
STREAM_WRITE_BLOCK_UPLOADS_ABORTED
Count of number of block uploads aborted. Value: "stream_write_block_uploads_aborted".- See Also:
-
STREAM_WRITE_BLOCK_UPLOADS_ACTIVE
Count of block/partition uploads active. Value: "stream_write_block_uploads_active".- See Also:
-
STREAM_WRITE_BLOCK_UPLOADS_BYTES_PENDING
Gauge of data queued to be written. Value: "stream_write_block_uploads_data_pending".- See Also:
-
STREAM_WRITE_BLOCK_UPLOADS_COMMITTED
Count of number of block uploads committed. Value: "stream_write_block_uploads_committed".- See Also:
-
STREAM_WRITE_BLOCK_UPLOADS_PENDING
Gauge of block/partitions uploads queued to be written. Value: "stream_write_block_uploads_pending".- See Also:
-
STREAM_WRITE_BYTES
"Count of bytes written to output stream including all not yet uploaded. "stream_write_bytes".- See Also:
-
STREAM_WRITE_TOTAL_TIME
Count of total time taken for uploads to complete. "stream_write_total_time".- See Also:
-
STREAM_WRITE_QUEUE_DURATION
Total queue duration of all block uploads. "stream_write_queue_duration".- See Also:
-
STREAM_WRITE_TOTAL_DATA
- See Also:
-
BYTES_TO_UPLOAD
Number of bytes to upload from an OutputStream.- See Also:
-
BYTES_UPLOAD_SUCCESSFUL
Number of bytes uploaded successfully to the object store.- See Also:
-
BYTES_UPLOAD_FAILED
Number of bytes failed to upload to the object store.- See Also:
-
TIME_SPENT_ON_TASK_WAIT
Total time spent on waiting for a task to complete.- See Also:
-
QUEUE_SHRUNK_OPS
Number of task queue shrunk operations.- See Also:
-
WRITE_CURRENT_BUFFER_OPERATIONS
Number of times current buffer is written to the service.- See Also:
-
TIME_SPENT_ON_PUT_REQUEST
Total time spent on completing a PUT request.- See Also:
-
SEEK_IN_BUFFER
Number of seeks in buffer.- See Also:
-
BYTES_READ_BUFFER
Number of bytes read from the buffer.- See Also:
-
REMOTE_READ_OP
Total number of remote read operations performed.- See Also:
-
READ_AHEAD_BYTES_READ
Total number of bytes read from readAhead.- See Also:
-
REMOTE_BYTES_READ
Total number of bytes read from remote operations.- See Also:
-
BLOCKS_ALLOCATED
Total number of Data blocks allocated by an outputStream.- See Also:
-
BLOCKS_RELEASED
Total number of Data blocks released by an outputStream.- See Also:
-
STREAM_READ_PREFETCH_OPERATIONS
Total number of prefetching operations executed.- See Also:
-
STREAM_READ_BLOCKS_IN_FILE_CACHE
Total number of block in disk cache.- See Also:
-
STREAM_READ_ACTIVE_PREFETCH_OPERATIONS
Total number of active prefetch operations.- See Also:
-
STREAM_READ_ACTIVE_MEMORY_IN_USE
Total bytes of memory in use by this input stream.- See Also:
-
STREAM_READ_REMOTE_BLOCK_READ
count/duration of reading a remote block. Value: "stream_read_block_read".- See Also:
-
STREAM_READ_BLOCK_ACQUIRE_AND_READ
count/duration of acquiring a buffer and reading to it. Value: "stream_read_block_acquire_read".- See Also:
-
STREAM_EVICT_BLOCKS_FROM_FILE_CACHE
Total number of blocks evicted from the disk cache.- See Also:
-
STREAM_FILE_CACHE_EVICTION
Track duration of LRU cache eviction for disk cache.- See Also:
-
STREAM_READ_PREFETCHED_BYTES
Bytes that were prefetched by the stream.- See Also:
-
STREAM_READ_PARQUET_FOOTER_PARSING_FAILED
Tracks failures in footer parsing.- See Also:
-
STREAM_READ_CACHE_HIT
A cache hit occurs when the request range can be satisfied by the data in the cache.- See Also:
-