|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.apache.hadoop.mapred.ReduceTask.ReduceCopier.MapOutputCopier
public class ReduceTask.ReduceCopier.MapOutputCopier
Copies map outputs as they become available
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
ReduceTask.ReduceCopier.MapOutputCopier(JobConf job,
Reporter reporter,
javax.crypto.SecretKey jobTokenSecret)
|
Method Summary | |
---|---|
boolean |
fail()
Fail the current file that we are fetching |
ReduceTask.ReduceCopier.MapOutputLocation |
getLocation()
Get the current map output location. |
protected java.net.HttpURLConnection |
openConnection(java.net.URL url)
|
void |
run()
Loop forever and fetch map outputs as they become available. |
java.io.InputStream |
setupSecureConnection(ReduceTask.ReduceCopier.MapOutputLocation mapOutputLoc,
java.net.URLConnection connection)
|
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReduceTask.ReduceCopier.MapOutputCopier(JobConf job, Reporter reporter, javax.crypto.SecretKey jobTokenSecret)
Method Detail |
---|
public boolean fail()
public ReduceTask.ReduceCopier.MapOutputLocation getLocation()
public void run()
ReduceTaskRunner
run
in interface java.lang.Runnable
run
in class java.lang.Thread
protected java.net.HttpURLConnection openConnection(java.net.URL url) throws java.io.IOException
java.io.IOException
public java.io.InputStream setupSecureConnection(ReduceTask.ReduceCopier.MapOutputLocation mapOutputLoc, java.net.URLConnection connection) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |