Udostępnij za pośrednictwem


HDInsightApplicationHistoryClient.DownloadApplicationLogs Method

Definition

Overloads

DownloadApplicationLogs(ApplicationContainerDetails, String)

Downloads logs for a specific container within a YARN application. Logs will be downloaded to the specified download location.

DownloadApplicationLogs(ApplicationDetails, String)

Downloads application logs for the specified application. Logs will be downloaded to the specified download location.

DownloadApplicationLogs(ApplicationContainerDetails, String, TimeSpan)

Downloads logs for a specific container within a YARN application. Logs will be downloaded to the specified download location.

DownloadApplicationLogs(ApplicationDetails, String, TimeSpan)

Downloads application logs for the specified application. Logs will be downloaded to the specified download location.

DownloadApplicationLogs(ApplicationContainerDetails, String)

Downloads logs for a specific container within a YARN application. Logs will be downloaded to the specified download location.

public void DownloadApplicationLogs (Microsoft.Hadoop.Client.ApplicationContainerDetails applicationContainer, string targetDirectory);
abstract member DownloadApplicationLogs : Microsoft.Hadoop.Client.ApplicationContainerDetails * string -> unit
override this.DownloadApplicationLogs : Microsoft.Hadoop.Client.ApplicationContainerDetails * string -> unit
Public Sub DownloadApplicationLogs (applicationContainer As ApplicationContainerDetails, targetDirectory As String)

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.

Implements

Applies to

DownloadApplicationLogs(ApplicationDetails, String)

Downloads application logs for the specified application. Logs will be downloaded to the specified download location.

public void DownloadApplicationLogs (Microsoft.Hadoop.Client.ApplicationDetails application, string targetDirectory);
abstract member DownloadApplicationLogs : Microsoft.Hadoop.Client.ApplicationDetails * string -> unit
override this.DownloadApplicationLogs : Microsoft.Hadoop.Client.ApplicationDetails * string -> unit
Public Sub DownloadApplicationLogs (application As ApplicationDetails, targetDirectory As String)

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.

Implements

Applies to

DownloadApplicationLogs(ApplicationContainerDetails, String, TimeSpan)

Downloads logs for a specific container within a YARN application. Logs will be downloaded to the specified download location.

public void DownloadApplicationLogs (Microsoft.Hadoop.Client.ApplicationContainerDetails applicationContainer, string targetDirectory, TimeSpan timeout);
abstract member DownloadApplicationLogs : Microsoft.Hadoop.Client.ApplicationContainerDetails * string * TimeSpan -> unit
override this.DownloadApplicationLogs : Microsoft.Hadoop.Client.ApplicationContainerDetails * string * TimeSpan -> unit
Public Sub DownloadApplicationLogs (applicationContainer As ApplicationContainerDetails, targetDirectory As String, timeout As TimeSpan)

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.

timeout
TimeSpan

Time to wait for completion of the operation.

Implements

Applies to

DownloadApplicationLogs(ApplicationDetails, String, TimeSpan)

Downloads application logs for the specified application. Logs will be downloaded to the specified download location.

public void DownloadApplicationLogs (Microsoft.Hadoop.Client.ApplicationDetails application, string targetDirectory, TimeSpan timeout);
abstract member DownloadApplicationLogs : Microsoft.Hadoop.Client.ApplicationDetails * string * TimeSpan -> unit
override this.DownloadApplicationLogs : Microsoft.Hadoop.Client.ApplicationDetails * string * TimeSpan -> unit
Public Sub DownloadApplicationLogs (application As ApplicationDetails, targetDirectory As String, timeout As TimeSpan)

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.

timeout
TimeSpan

Time to wait for completion of the operation.

Implements

Applies to