public class Fetcher extends Object implements Callable<FetchResult>
Fetcher.FetcherBuilder| Modifier and Type | Class and Description |
|---|---|
static class |
Fetcher.FetcherBuilder
Builder for the construction of Fetchers
|
| Modifier and Type | Method and Description |
|---|---|
FetchResult |
call() |
protected org.apache.tez.runtime.library.common.shuffle.Fetcher.HostFetchResult |
doHttpFetch() |
protected org.apache.tez.runtime.library.common.shuffle.Fetcher.HostFetchResult |
doHttpFetch(org.apache.tez.runtime.library.common.shuffle.Fetcher.CachingCallBack callback) |
protected org.apache.tez.runtime.library.common.shuffle.Fetcher.HostFetchResult |
doSharedFetch() |
boolean |
equals(Object obj) |
protected org.apache.hadoop.fs.Path |
getShuffleInputFileName(String pathComponent,
String suffix) |
protected TezIndexRecord |
getTezIndexRecord(InputAttemptIdentifier srcAttemptId) |
int |
hashCode() |
protected org.apache.tez.runtime.library.common.shuffle.Fetcher.HostFetchResult |
setupLocalDiskFetch() |
void |
shutdown() |
public FetchResult call() throws Exception
call in interface Callable<FetchResult>Exceptionprotected org.apache.tez.runtime.library.common.shuffle.Fetcher.HostFetchResult doSharedFetch()
throws IOException
IOExceptionprotected org.apache.tez.runtime.library.common.shuffle.Fetcher.HostFetchResult doHttpFetch()
protected org.apache.tez.runtime.library.common.shuffle.Fetcher.HostFetchResult doHttpFetch(org.apache.tez.runtime.library.common.shuffle.Fetcher.CachingCallBack callback)
protected org.apache.tez.runtime.library.common.shuffle.Fetcher.HostFetchResult setupLocalDiskFetch()
protected TezIndexRecord getTezIndexRecord(InputAttemptIdentifier srcAttemptId) throws IOException
IOExceptionprotected org.apache.hadoop.fs.Path getShuffleInputFileName(String pathComponent, String suffix) throws IOException
IOExceptionpublic void shutdown()
Copyright © 2014 Apache Software Foundation. All rights reserved.