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 | Description |
|---|---|
AuditReplayReducer() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
reduce(UserCommandKey key,
java.lang.Iterable<CountTimeWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void reduce(UserCommandKey key, java.lang.Iterable<CountTimeWritable> values, org.apache.hadoop.mapreduce.Reducer.Context context) throws java.io.IOException, java.lang.InterruptedException
reduce in class org.apache.hadoop.mapreduce.Reducer<UserCommandKey,CountTimeWritable,UserCommandKey,CountTimeWritable>java.io.IOExceptionjava.lang.InterruptedExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.