Inherited by Org.Apache.REEF.Client.Yarn.LegacyJobResourceUploader, and Org.Apache.REEF.Client.YARN.RestClient.FileSystemJobResourceUploader.
Task<JobResource> Org.Apache.REEF.Client.Yarn.IJobResourceUploader.UploadArchiveResourceAsync |
( |
string |
driverLocalFolderPath, |
|
|
string |
remoteUploadDirectoryPath |
|
) |
| |
Creates the archive from local driver folder and uploads it to DFS destination path.
- Parameters
-
driverLocalFolderPath | Local folder where REEF application resources are staged |
remoteUploadDirectoryPath | Remote directory path where we will upload resources |
- Returns
- Path, modification time and size of uploaded file as JobResource
Task<JobResource> Org.Apache.REEF.Client.Yarn.IJobResourceUploader.UploadFileResourceAsync |
( |
string |
fileLocalPath, |
|
|
string |
remoteUploadDirectoryPath |
|
) |
| |
Locates a file resource and uploads it to DFS destination path.
- Parameters
-
fileLocalPath | file path |
remoteUploadDirectoryPath | Remote directory path where we will upload resources |
- Returns
- Path, modification time and size of uploaded file as JobResource
The documentation for this interface was generated from the following file: