Inherited by Org.Apache.REEF.Client.Yarn.LegacyJobResourceUploader, and Org.Apache.REEF.Client.YARN.RestClient.FileSystemJobResourceUploader.
JobResource Org.Apache.REEF.Client.Yarn.IJobResourceUploader.UploadArchiveResource |
( |
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
JobResource Org.Apache.REEF.Client.Yarn.IJobResourceUploader.UploadFileResource |
( |
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: