IHDInsightApplicationHistoryAsyncClient.DownloadApplicationLogsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DownloadApplicationLogsAsync(ApplicationContainerDetails, String) |
Downloads logs for a specific container within a YARN application. Logs will be downloaded to the specified download location. |
DownloadApplicationLogsAsync(ApplicationDetails, String) |
Downloads application logs for the specified application. Logs will be downloaded to the specified download location. |
DownloadApplicationLogsAsync(ApplicationContainerDetails, String)
Downloads logs for a specific container within a YARN application. Logs will be downloaded to the specified download location.
public System.Threading.Tasks.Task DownloadApplicationLogsAsync (Microsoft.Hadoop.Client.ApplicationContainerDetails applicationContainer, string targetDirectory);
abstract member DownloadApplicationLogsAsync : Microsoft.Hadoop.Client.ApplicationContainerDetails * string -> System.Threading.Tasks.Task
Public Function DownloadApplicationLogsAsync (applicationContainer As ApplicationContainerDetails, targetDirectory As String) As Task
Parameters
- applicationContainer
- Microsoft.Hadoop.Client.ApplicationContainerDetails
An application' container for which logs are needed.
- targetDirectory
- String
The location on local disk to download the application logs.
Returns
A task object that can be awaited to download container logs.
Applies to
DownloadApplicationLogsAsync(ApplicationDetails, String)
Downloads application logs for the specified application. Logs will be downloaded to the specified download location.
public System.Threading.Tasks.Task DownloadApplicationLogsAsync (Microsoft.Hadoop.Client.ApplicationDetails application, string targetDirectory);
abstract member DownloadApplicationLogsAsync : Microsoft.Hadoop.Client.ApplicationDetails * string -> System.Threading.Tasks.Task
Public Function DownloadApplicationLogsAsync (application As ApplicationDetails, targetDirectory As String) As Task
Parameters
- application
- Microsoft.Hadoop.Client.ApplicationDetails
The application for which logs are needed.
- targetDirectory
- String
The location on local disk to download the application logs.
Returns
A task object that can be awaited to download application logs.
Applies to
Azure SDK for .NET