public class AuditReplayReducer extends org.apache.hadoop.mapreduce.Reducer<UserCommandKey,CountTimeWritable,UserCommandKey,CountTimeWritable>
AuditReplayMapper and sums them up by UserCommandKey, which
combines the user's id that ran the command and the type of the command
(READ/WRITE).| Constructor and Description |
|---|
AuditReplayReducer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
reduce(UserCommandKey key,
Iterable<CountTimeWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void reduce(UserCommandKey key, Iterable<CountTimeWritable> values, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
reduce in class org.apache.hadoop.mapreduce.Reducer<UserCommandKey,CountTimeWritable,UserCommandKey,CountTimeWritable>IOExceptionInterruptedExceptionCopyright © 2008–2023 Apache Software Foundation. All rights reserved.