IHadoopClientExtensions Class
Note
This version of the HDInsight .NET SDK is deprecated and will be removed by January 1, 2017. You are encouraged to use the newer ARM-based version of HDInsight .NET SDK going forward. For instructions on how to use the new HDInsight .NET SDK to create a cluster, see Create HDInsight Linux clusters using .NET SDK. For instructions on how to submit jobs using the new .NET SDK and other approaches, see Submit jobs to an HDInsight cluster. The HDInsight SDK reference for the newer version is available at HDInsight .NET SDK Reference.
Defines the interface for extension methods that wait synchronously or asynchronously for job completion for a specified duration of time.
Namespace: Microsoft.Hadoop.Client
Assembly: Microsoft.Hadoop.Client (in Microsoft.Hadoop.Client.dll)
Inheritance Hierarchy
System.Object
Microsoft.Hadoop.Client.IHadoopClientExtensions
Syntax
public static class IHadoopClientExtensions
[ExtensionAttribute]
public ref class IHadoopClientExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type IHadoopClientExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class IHadoopClientExtensions
Methods
Name | Description | |
---|---|---|
WaitForJobCompletion(IJobSubmissionClient, JobCreationResults, TimeSpan, CancellationToken) | Waits a specified duration synchronously for a job from a specified client to complete. |
|
WaitForJobCompletionAsync(IJobSubmissionClient, JobCreationResults, TimeSpan, CancellationToken) | Waits a specified duration asynchronously for a job from a specified client to complete. |
|
WaitForJobCompletionAsync(IJobSubmissionClient, String, TimeSpan, CancellationToken) | Waits a specified duration asynchronously for a job from a specified client to complete. |
Remarks
The methods provided wait a specified duration for a job from a client to complete. Synchronous and asynchronous implementations of the wait method are provided.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Hadoop.Client Namespace
Return to top