Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudera/flume
/ types & classes
Types & classes
671 in github.com/cloudera/flume
⨍
Functions
4,174
◇
Types & classes
671
Class
A
Simple test class that is similar to an EventImpl.
flume-core/src/test/java/com/cloudera/flume/handlers/avro/TestAvroSerialize.java:69
Enum
ASTNODE
flume-core/src/main/java/com/cloudera/flume/conf/FlumeBuilder.java:92
Enum
ASTNODE
flume-core/src/main/java/com/cloudera/flume/shell/CommandBuilder.java:47
Class
AbstractOutputFormat
flume-core/src/main/java/com/cloudera/flume/handlers/text/output/AbstractOutputFormat.java:26
Class
AccountingTransceiver
flume-core/src/main/java/org/apache/avro/ipc/AccountingTransceiver.java:11
Class
AccumulatorSink
This just counts the number of entries appended. Unlike the CounterSink, this sink does not reset the count when opened/closed
flume-core/src/main/java/com/cloudera/flume/reporter/aggregator/AccumulatorSink.java:39
Class
AckAccumulator
This accumulates ack tags in rollAckMap so that they can be pushed to the master when the the hdfs file associated with the rolltag is closed.
flume-core/src/main/java/com/cloudera/flume/collector/CollectorSink.java:195
Class
AckChecksumChecker
This tracks ack on batches of events. This looks for and tracks begin and end message for ack tagged values. Will this be a reasonable size? 8 bytes
flume-core/src/main/java/com/cloudera/flume/handlers/endtoend/AckChecksumChecker.java:52
Class
AckChecksumInjector
This first sends a tag/checksum start message with the initial time stamp as the checksum. Then it tags each message that passes through with a hash o
flume-core/src/main/java/com/cloudera/flume/handlers/endtoend/AckChecksumInjector.java:46
Class
AckChecksumRegisterer
When this decorator encounters a correct checksum pair, it add registers the checksume to the specified ack listener.
flume-core/src/main/java/com/cloudera/flume/agent/durability/NaiveFileWALDeco.java:89
Class
AckFramingState
This a call back that will record if a proper ack start and ack end have been encountered.
flume-core/src/main/java/com/cloudera/flume/agent/durability/NaiveFileWALManager.java:234
Interface
AckListener
This is a interface decouple event-stream extracted notifications from the actions that are triggered by them. This explicitly encapsulates any necess
flume-core/src/main/java/com/cloudera/flume/handlers/endtoend/AckListener.java:31
Class
Acks
Wrapper class to provide XmlRootElement.
flume-config-web/src/main/java/com/cloudera/flume/master/MasterAckManagerResource.java:45
Interface
AdminRPC
This interface represents the client side of master control RPC exchange. We implement this interface for each RPC package that Flume uses. We interpr
flume-core/src/main/java/com/cloudera/flume/util/AdminRPC.java:34
Class
AdminRPCAvro
Avro implementation of the Flume admin control RPC. This class manages the connection to a master and provides type conversion.
flume-core/src/main/java/com/cloudera/flume/util/AdminRPCAvro.java:51
Class
AdminRPCThrift
Thrift implementation of the Flume admin control RPC. This class manages the connection to a master and provides type conversion.
flume-core/src/main/java/com/cloudera/flume/util/AdminRPCThrift.java:50
Class
AgentFailChainSink
This build "auto agents" (automatically generated fail over chains) at different reliability levels
flume-core/src/main/java/com/cloudera/flume/agent/AgentFailChainSink.java:47
Class
AgentSink
This is the default agent sink in a agent/collector architecture. This is purposely setup as a layer of indirection between the actual implementation
flume-core/src/main/java/com/cloudera/flume/agent/AgentSink.java:55
Class
AlwaysRetryPolicy
flume-core/src/main/java/com/cloudera/util/AlwaysRetryPolicy.java:26
Class
ApacheAccessLogFormat
Apache Access Logs are configurable to have custom formats. The default (which we parse here) is : Default configured to be: LogFormat "%h %l %u %t \
flume-core/src/main/java/com/cloudera/flume/handlers/text/ApacheAccessLogFormat.java:85
Class
ArrayUtils
Some array helper methods not found in apache commons or guava.
flume-core/src/main/java/com/cloudera/util/ArrayUtils.java:23
Class
Attr2HBaseEventSink
This generates an HBase output sink which puts event attributes into HBase record based on their names. It is similar to {@link com.cloudera.flume.han
plugins/flume-plugin-hbasesink/src/main/java/com/cloudera/flume/hbase/Attr2HBaseEventSink.java:113
Class
AttrSynthSource
A synthetic source that just creates a specified number of random events with a specified number of attributes with specified attribute size, and spec
flume-core/src/main/java/com/cloudera/flume/handlers/debug/AttrSynthSource.java:42
Class
Attributes
This is a singleton that keeps a mapping of attribute to a type. This is a like a schema, and is for formatting used in reports.
flume-core/src/main/java/com/cloudera/flume/core/Attributes.java:32
Class
AvroDataFileOutputFormat
This uses the Avro's Reflection serializer and DataFileWriter to output Flume events to a AvroDataFile. Under the hood this uses the BinaryEncoder for
flume-core/src/main/java/com/cloudera/flume/handlers/avro/AvroDataFileOutputFormat.java:46
Class
AvroEventConvertUtil
This utility class contains methods that convert Avro-generated AvroFlumeEvents into an FlumeEvents and vice versa.
flume-core/src/main/java/com/cloudera/flume/handlers/avro/AvroEventConvertUtil.java:38
Class
AvroEventSink
This is a sink that sends events to a remote host/port using Avro.
flume-core/src/main/java/com/cloudera/flume/handlers/avro/AvroEventSink.java:41
Class
AvroEventSource
This sets up the port that listens for incoming flumeAvroEvent rpc calls using Avro. This class pretty much mimics ThriftEventSource.
flume-core/src/main/java/com/cloudera/flume/handlers/avro/AvroEventSource.java:43
Class
AvroJsonOutputFormat
This uses the Avro's Reflection serializer to output Flume events as json. Instead of using DataFileWriter we just write to a file and break records u
flume-core/src/main/java/com/cloudera/flume/handlers/avro/AvroJsonOutputFormat.java:43
Class
AvroMasterRPC
Avro implementation of a SinlgeMasterRPC. This manages the connection to an Avro server and manages type translation.
flume-core/src/main/java/com/cloudera/flume/agent/AvroMasterRPC.java:53
Class
AvroNativeFileOutputFormat
This writes native Avro formatted files out as an output format. Note: There is a separate Avro container that does encoding currently from the AvroE
flume-core/src/main/java/com/cloudera/flume/handlers/avro/AvroNativeFileOutputFormat.java:41
Class
AvroReportServer
Serves reports over Avro.
flume-core/src/main/java/com/cloudera/flume/reporter/server/AvroReportServer.java:43
Class
BackOffFailOverSink
This failover sink initially opens the primary and the backup attempts to to append to the primary. If the primary fails, it falls back and appends to
flume-core/src/main/java/com/cloudera/flume/core/BackOffFailOverSink.java:57
Interface
BackoffPolicy
This is the interface for state containing backoff algorithms. Basically, when a new algorithm is instantiated, reset is called. Reset should be calle
flume-core/src/main/java/com/cloudera/util/BackoffPolicy.java:38
Class
Base
A do-nothing Sink that has default name (class name) and default report.
flume-core/src/main/java/com/cloudera/flume/core/EventSink.java:84
Class
Base
flume-core/src/main/java/com/cloudera/flume/core/EventSource.java:126
Class
Base
flume-core/src/main/java/com/cloudera/flume/core/DriverListener.java:31
Class
BatchingDecorator
This takes many events and then batches them up into one batched event. If a small number of events has been received and a specified latency has pass
flume-core/src/main/java/com/cloudera/flume/handlers/batch/BatchingDecorator.java:53
Class
Benchmark
Simple class to consolidate benchmarking and timing code. This will help me find the bottlenecks. Usage: create new benchmark. call mark with comment
flume-core/src/main/java/com/cloudera/util/Benchmark.java:40
Class
BenchmarkAgentDecos
flume-microbenchmarks/src/test/java/com/cloudera/flume/agent/BenchmarkAgentDecos.java:30
Class
BenchmarkBasicDecos
Benchmark tests on basic decorators.
flume-microbenchmarks/src/test/java/com/cloudera/flume/agent/BenchmarkBasicDecos.java:30
Class
BenchmarkHarness
This sets up a batttery of synthetic datasets for testing against different decorators and sinks. Generally, each test requires ~2GB mem. ~1GB for kee
flume-core/src/test/java/com/cloudera/util/BenchmarkHarness.java:62
Class
BenchmarkInjectDecorator
This injects events tags that are inserted in the data stream that mark the beginning and end of different data streams. The a corresponding Benchmark
flume-core/src/main/java/com/cloudera/flume/handlers/debug/BenchmarkInjectDecorator.java:46
Class
BenchmarkReportDecorator
This extracts benchmark events inserted by the BenchmarkInjectDecorator. There should be a start event followed by many normal events, and eventually
flume-core/src/main/java/com/cloudera/flume/handlers/debug/BenchmarkReportDecorator.java:54
Class
BloomCheckDecorator
BloomCheckDeco records checksums of the body of all the events received in a set represented as a bloom filter. This is intended to be downstream from
flume-core/src/main/java/com/cloudera/flume/handlers/debug/BloomCheckDecorator.java:55
Enum
BloomCheckState
flume-core/src/main/java/com/cloudera/flume/handlers/debug/BloomCheckDecorator.java:67
Class
BloomGeneratorDeco
This decorator takes hashes of messages and then inserts them into a bloom filter. On deco close, the bit map representation of the bloom filter is tr
flume-core/src/main/java/com/cloudera/flume/handlers/debug/BloomGeneratorDeco.java:53
Class
BloomSet
This is an interface for a bloom set. Currently this shim wraps the o.a.h.util.bloom.BloomFilter with a more generic API but uses inefficient calls.
flume-core/src/main/java/com/cloudera/util/bloom/BloomSet.java:44
Class
Builder
flume-core/src/main/java/com/cloudera/flume/handlers/exec/ExecNioSource.java:520
Class
ByteBufferAsCharSequence
This is a cheat class to present a CharSequence interface backed by a byte[]/ByteBuffer. This allows us to use regexes against the byte[]. Note, we ar
flume-core/src/main/java/com/cloudera/flume/handlers/text/CustomDelimCursor.java:70
Class
ByteBufferInputStream
This is similar to a ByteArrayInputStream but instead wraps a ByteBuffer
flume-core/src/main/java/com/cloudera/util/ByteBufferInputStream.java:29
Class
Cache
This is a simple LRU cache implementation. It uses SoftReferences that allows the GC can collect memory from here if it needs memory. This assumes wr
flume-core/src/main/java/com/cloudera/util/Cache.java:35
Class
CannedTagger
This issues simple incrementing integer toString as a tag for the next wal file.
flume-core/src/test/java/com/cloudera/flume/agent/durability/TestFlumeNodeWALNotifierRacy.java:71
Class
CappedExponentialBackoff
This provides a simple reusable exponential backoff state object. Note that this only does calculations and tracks the backoff state but doesn't actua
flume-core/src/main/java/com/cloudera/util/CappedExponentialBackoff.java:34
Class
CharEncUtils
flume-core/src/main/java/com/cloudera/util/CharEncUtils.java:22
Class
ChartPackage
This is singleton object used to construct chart generators. It defaults to GoogleCharts based charts, but can be overridden with other chart generati
flume-core/src/main/java/com/cloudera/flume/reporter/charts/ChartPackage.java:29
Class
CheckConfigThread
This thread takes checkConfig commands form the q and processes them. We purposely want to decouple the heartbeat from this thread.
flume-core/src/main/java/com/cloudera/flume/agent/LivenessManager.java:199
Class
CheckJavaVersion
This class simply checks that the current Java version is no older than 1.6.
flume-core/src/main/java/com/cloudera/util/CheckJavaVersion.java:26
Class
CheckSink
This sink will thrown an exception on open if a empty or invalid context is threaded through to it.
flume-core/src/test/java/com/cloudera/flume/core/TestContextThreading.java:60
Class
ChokeDecorator
This decorator adds a the capability to Throttle the data going out of the sink. Each ChokeDecorator is associated with a chokeId, and all the choke-d
flume-core/src/main/java/com/cloudera/flume/handlers/debug/ChokeDecorator.java:38
Class
ChokeInfoData
This class contains the basic data elements of a ChokeDecorator and simple operations to perform on that data.
flume-core/src/main/java/com/cloudera/flume/handlers/debug/ChokeInfoData.java:24
Class
ChokeManager
Main throttling Logic is here. All the choke-decorators have to call a method (deleteItems) of this class before calling the append of their super cla
flume-core/src/main/java/com/cloudera/flume/handlers/debug/ChokeManager.java:32
Class
Clock
This is a singleton class that wraps time functions so that they can be mock'ed out later for testing. Users are expected to only use the static meth
flume-core/src/main/java/com/cloudera/util/Clock.java:30
Class
ClosableInputStream
This takes a input stream (stdin) and interposes on the read call. The jline console will exit a readline if a CTRL_D (EOF) is "read" from the source,
flume-core/src/main/java/com/cloudera/flume/handlers/console/JLineStdinSource.java:73
Class
CloseExnSource
flume-core/src/test/java/com/cloudera/flume/agent/TestFlumeNode.java:81
Class
Cmd
flume-core/src/test/java/com/cloudera/flume/master/TestFlumeConfigTranslation.java:58
Class
CmdList
flume-core/src/test/java/com/cloudera/flume/master/TestFlumeConfigTranslation.java:74
Class
CollectorAckListener
This is for a collector to send notify the master of acknowledgements from successfully received tagged groups.
flume-core/src/main/java/com/cloudera/flume/handlers/endtoend/CollectorAckListener.java:31
Class
CollectorSink
This collector sink is the high level specification a user would use. The subsink spec allows for specifying batching, gunzip, multiple sinks or whate
flume-core/src/main/java/com/cloudera/flume/collector/CollectorSink.java:67
Class
CollectorSource
This is the default collector source in a agent/collector architecture. This is purposely setup as a layer of indirection between the actual implemen
flume-core/src/main/java/com/cloudera/flume/collector/CollectorSource.java:47
Class
Command
This is a simple command that is fed to the Command Manager. This is an abstraction layer that allows new commands to be plugged into the flume Master
flume-core/src/main/java/com/cloudera/flume/master/Command.java:33
Class
CommandBuilder
Builds a command object from a string. Needed for sane command line parsing. Unquoted tokens can contain alphanumeric, '.',':','_', or '-'. Tokens en
flume-core/src/main/java/com/cloudera/flume/shell/CommandBuilder.java:44
Class
CommandDescription
Super simple class to aggregate some command metadata.
flume-core/src/main/java/com/cloudera/flume/util/FlumeShell.java:94
Class
CommandLineException
A new exception for flume's command line parser.
flume-core/src/main/java/com/cloudera/flume/shell/CommandLineException.java:26
Class
CommandManager
We want to serialize the order of configuration commands sent to the flume configuration server. To do this we break up actions into Commands, and sub
flume-core/src/main/java/com/cloudera/flume/master/CommandManager.java:63
Class
CommandManagerResource
flume-config-web/src/main/java/com/cloudera/flume/master/CommandManagerResource.java:37
Class
CommandStatus
This keeps a command it runtime information about the command. Think of it like a process control block in a OS. The command can be in 4 states. QUEU
flume-core/src/main/java/com/cloudera/flume/master/CommandStatus.java:38
Class
ComparablePair
Augments Pair with the Comparable interface so that we may create sorted sets of pairs. L and R types must implement Comparable.
flume-core/src/main/java/com/cloudera/util/ComparablePair.java:25
Class
CompositeSink
This sink takes a data flow spec string as a constructor argument. It parses the construction and instantiates the sink. During execution, all the sin
flume-core/src/main/java/com/cloudera/flume/core/CompositeSink.java:38
Class
ConfigCommand
JSP forms populate java bean. We want elements to be commands, so we take the bean and have a toCommand method that creates a Command that can be subm
flume-core/src/main/java/com/cloudera/flume/master/ConfigCommand.java:34
Class
ConfigManager
This maintains the global configuration state of the flume nodes.
flume-core/src/main/java/com/cloudera/flume/master/ConfigManager.java:55
Class
ConfigManagerResource
flume-config-web/src/main/java/com/cloudera/flume/master/ConfigManagerResource.java:38
Class
ConfigStore
This class abstracts away the persistence of global node config data.
flume-core/src/main/java/com/cloudera/flume/master/ConfigStore.java:31
Interface
ConfigurationManager
This is an interface for the object that manages configurations for nodes in flume. TODO (jon) we should be consistent with our naming. Maybe Configu
flume-core/src/main/java/com/cloudera/flume/master/ConfigurationManager.java:39
Class
ConsistentHash
This is an implementation of a consistent hash. T is the type of a bin. It is mostly copied from Tom White's implementation found here: http://www.le
flume-core/src/main/java/com/cloudera/util/consistenthash/ConsistentHash.java:43
Class
ConsistentHashFailoverChainManager
This is uses a consistent hash mechanism to generate failover chains for a particular agent.
flume-core/src/main/java/com/cloudera/flume/master/availability/ConsistentHashFailoverChainManager.java:29
Class
ConsistentLists
Consistent hash lets you place bins and map values to bins. However, how does one get a bin and find out what values are there? For that we keep track
flume-core/src/main/java/com/cloudera/util/consistenthash/ConsistentLists.java:44
Class
ConsoleEventSink
Simple print to console. This defaults to the "debug" output format instead of raw to give interactive users more feedback and information.
flume-core/src/main/java/com/cloudera/flume/handlers/debug/ConsoleEventSink.java:41
Class
Context
This context is an abstraction for scopes. Prior to this there were one scopes the physical node (essentially conf file). This allows for new subscope
flume-core/src/main/java/com/cloudera/flume/conf/Context.java:36
Class
ContextCreator
The jetty server cannot properly reload contexts if it attempts to bind to a port and fails. To support automatically going finding a new port, we thu
flume-core/src/main/java/com/cloudera/util/InternalHttpServer.java:259
Class
ContextDeco
flume-core/src/test/java/com/cloudera/flume/conf/TestParser.java:167
Class
ContextSink
flume-core/src/test/java/com/cloudera/flume/conf/TestParser.java:137
Class
CopyThread
flume-core/src/main/java/com/cloudera/util/InputStreamPipe.java:74
Class
CopyToHdfs
flume-core/src/main/java/com/cloudera/flume/collector/CopyToHdfs.java:27
Class
CountHistoryReporter
This counts elements that are appended in each epoch.
flume-core/src/main/java/com/cloudera/flume/reporter/history/CountHistoryReporter.java:37
Class
CounterSink
This just counts the number of entries appended.
flume-core/src/main/java/com/cloudera/flume/reporter/aggregator/CounterSink.java:38
Class
CounterThread
flume-core/src/test/java/com/cloudera/flume/master/TestZooKeeperCounter.java:105
Class
CreateLogicalNodeForm
This is a bean interface for JSP form interaction.
flume-core/src/main/java/com/cloudera/flume/master/commands/CreateLogicalNodeForm.java:31
Class
CumulativeCappedExponentialBackoff
This provides a simple reusable exponential backoff state object. Note that this only does calculations and tracks the backoff state but doesn't actua
flume-core/src/main/java/com/cloudera/util/CumulativeCappedExponentialBackoff.java:31
Class
Cursor
To support multiple tail readers, we have a Cursor for each file name It takes a File and optionally a starting offset in the file. From there it att
flume-core/src/main/java/com/cloudera/flume/handlers/text/Cursor.java:46
next →
1–100 of 671, ranked by callers