public abstract class BaseAppMaster extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.hadoop.conf.Configuration |
conf |
protected com.google.common.util.concurrent.AtomicDouble |
progress |
| Constructor and Description |
|---|
BaseAppMaster() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDefaultProps(com.google.common.collect.ImmutableMap.Builder<String,Object> defaultProps) |
protected abstract void |
crawl(org.springframework.context.ApplicationContext context,
Crawler crawler) |
protected long |
getMaxUrls() |
protected Set<String> |
getProfiles() |
void |
run(String[] args) |
protected final org.apache.hadoop.conf.Configuration conf
protected final com.google.common.util.concurrent.AtomicDouble progress
public void run(String[] args) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
org.apache.hadoop.yarn.exceptions.YarnExceptionIOExceptionprotected abstract void crawl(org.springframework.context.ApplicationContext context,
Crawler crawler)
throws IOException
IOExceptionprotected void addDefaultProps(com.google.common.collect.ImmutableMap.Builder<String,Object> defaultProps)
protected long getMaxUrls()
Copyright © 2017. All rights reserved.