public class LogAnalysisApp extends AbstractApplication
Workflow| Modifier and Type | Class and Description |
|---|---|
static class |
LogAnalysisApp.HitCounterServiceHandler
A
Service that responds with total number of hits for a given URL or path |
static class |
LogAnalysisApp.LogAnalysisWorkflow
A Workflow which ties spark and mapreduce program together for log analysis
|
static class |
LogAnalysisApp.RequestCounterHandler
A Service which serves the number of requests made by unique ip address from a
TimePartitionedFileSet |
static class |
LogAnalysisApp.ResponseCounterHandler
A
Service that responds with total number of responses for a given response code |
static class |
LogAnalysisApp.ResponseCounterSpark
Specification for the Spark program in this application
|
| Modifier and Type | Field and Description |
|---|---|
static String |
HIT_COUNT_STORE |
static String |
HIT_COUNTER_SERVICE |
static String |
LOG_STREAM |
static String |
REQ_COUNT_STORE |
static String |
REQUEST_COUNTER_SERVICE |
static String |
RESPONSE_COUNT_STORE |
static String |
RESPONSE_COUNTER_SERVICE |
| Constructor and Description |
|---|
LogAnalysisApp() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure() |
addFlow, addMapReduce, addService, addService, addSpark, addWorker, addWorkflow, configure, getConfig, getConfigurer, getContext, scheduleWorkflow, scheduleWorkflow, setDescription, setNameusePlugin, usePlugin, usePluginClass, usePluginClassaddDatasetModule, addDatasetType, addStream, addStream, createDataset, createDataset, createDataset, createDatasetpublic static final String LOG_STREAM
public static final String HIT_COUNTER_SERVICE
public static final String RESPONSE_COUNTER_SERVICE
public static final String REQUEST_COUNTER_SERVICE
public static final String RESPONSE_COUNT_STORE
public static final String HIT_COUNT_STORE
public static final String REQ_COUNT_STORE
public void configure()
configure in class AbstractApplicationCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.