public class Fetcher extends org.apache.tez.common.CallableWithNdc<FetchResult>
Fetcher.FetcherBuilder| Modifier and Type | Class and Description |
|---|---|
static class |
Fetcher.FetcherBuilder
Builder for the construction of Fetchers
|
static class |
Fetcher.PathPartition |
| Modifier and Type | Method and Description |
|---|---|
FetchResult |
callInternal() |
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) |
String |
getHost() |
Map<Fetcher.PathPartition,InputAttemptIdentifier> |
getPathToAttemptMap() |
protected org.apache.hadoop.fs.Path |
getShuffleInputFileName(String pathComponent,
String suffix) |
List<InputAttemptIdentifier> |
getSrcAttempts() |
protected TezIndexRecord |
getTezIndexRecord(InputAttemptIdentifier srcAttemptId,
int partition) |
int |
hashCode() |
protected org.apache.tez.runtime.library.common.shuffle.Fetcher.HostFetchResult |
setupLocalDiskFetch() |
void |
shutdown() |
public List<InputAttemptIdentifier> getSrcAttempts()
public String getHost()
public FetchResult callInternal() throws Exception
callInternal in class org.apache.tez.common.CallableWithNdc<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, int partition) throws IOException
IOExceptionprotected org.apache.hadoop.fs.Path getShuffleInputFileName(String pathComponent, String suffix) throws IOException
IOExceptionpublic Map<Fetcher.PathPartition,InputAttemptIdentifier> getPathToAttemptMap()
public void shutdown()
Copyright © 2019 Apache Software Foundation. All rights reserved.