org.apache.hadoop.yarn.util
Class FSDownload

java.lang.Object
  extended by org.apache.hadoop.yarn.util.FSDownload
All Implemented Interfaces:
Callable<org.apache.hadoop.fs.Path>

public class FSDownload
extends Object
implements Callable<org.apache.hadoop.fs.Path>

Download a single URL to the local disk.


Constructor Summary
FSDownload(org.apache.hadoop.fs.FileContext files, org.apache.hadoop.security.UserGroupInformation ugi, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path destDirPath, org.apache.hadoop.yarn.api.records.LocalResource resource, Random rand)
           
 
Method Summary
 org.apache.hadoop.fs.Path call()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FSDownload

public FSDownload(org.apache.hadoop.fs.FileContext files,
                  org.apache.hadoop.security.UserGroupInformation ugi,
                  org.apache.hadoop.conf.Configuration conf,
                  org.apache.hadoop.fs.Path destDirPath,
                  org.apache.hadoop.yarn.api.records.LocalResource resource,
                  Random rand)
Method Detail

call

public org.apache.hadoop.fs.Path call()
                               throws Exception
Specified by:
call in interface Callable<org.apache.hadoop.fs.Path>
Throws:
Exception


Copyright © 2013 Apache Software Foundation. All Rights Reserved.