Share via


IJobSubmissionClient Interface

 

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 a client used to submit jobs to a Hadoop cluster.

Namespace:   Microsoft.Hadoop.Client
Assembly:  Microsoft.Hadoop.Client (in Microsoft.Hadoop.Client.dll)

Syntax

public interface IJobSubmissionClient : IJobSubmissionSyncClient, 
    IJobSubmissionAsyncClient, IJobSubmissionClientBase, IHadoopClientBase, 
    IDisposable, ILogProvider
public interface class IJobSubmissionClient : IJobSubmissionSyncClient, 
    IJobSubmissionAsyncClient, IJobSubmissionClientBase, IHadoopClientBase, 
    IDisposable, ILogProvider
type IJobSubmissionClient = 
    interface
        interface IJobSubmissionSyncClient
        interface IJobSubmissionAsyncClient
        interface IJobSubmissionClientBase
        interface IHadoopClientBase
        interface IDisposable
        interface ILogProvider
    end
Public Interface IJobSubmissionClient
    Inherits IJobSubmissionSyncClient, IJobSubmissionAsyncClient,
    IJobSubmissionClientBase, IHadoopClientBase, IDisposable, ILogProvider

Properties

Name Description
System_CAPS_pubproperty IgnoreSslErrors

Gets or sets a value indicating whether or not servicer side SSL errors should be ignored.(Inherited from IHadoopClientBase.)

System_CAPS_pubproperty Logger

(Inherited from ILogProvider.)

Methods

Name Description
System_CAPS_pubmethod AddLogWriter(ILogWriter)

Adds a log writer to the client.(Inherited from IHadoopClientBase.)

System_CAPS_pubmethod Cancel()

Cancel's a pending operation.(Inherited from IHadoopClientBase.)

System_CAPS_pubmethod CreateHiveJob(HiveJobCreateParameters)

Submits a Hive job to Hadoop cluster.(Inherited from IJobSubmissionSyncClient.)

System_CAPS_pubmethod CreateHiveJobAsync(HiveJobCreateParameters)

Submits a Hive job to Hadoop cluster.(Inherited from IJobSubmissionAsyncClient.)

System_CAPS_pubmethod CreateMapReduceJob(MapReduceJobCreateParameters)

Submits a Map Reduce job to Hadoop cluster.(Inherited from IJobSubmissionSyncClient.)

System_CAPS_pubmethod CreateMapReduceJobAsync(MapReduceJobCreateParameters)

Submits a Map Reduce job to Hadoop cluster.(Inherited from IJobSubmissionAsyncClient.)

System_CAPS_pubmethod CreatePigJob(PigJobCreateParameters)

Submits a Pig job to Hadoop cluster.(Inherited from IJobSubmissionSyncClient.)

System_CAPS_pubmethod CreatePigJobAsync(PigJobCreateParameters)

Submits a Pig job to Hadoop cluster.(Inherited from IJobSubmissionAsyncClient.)

System_CAPS_pubmethod CreateSqoopJob(SqoopJobCreateParameters)

Submits a Sqoop job to Hadoop cluster.(Inherited from IJobSubmissionSyncClient.)

System_CAPS_pubmethod CreateSqoopJobAsync(SqoopJobCreateParameters)

Submits a Sqoop job to Hadoop cluster.(Inherited from IJobSubmissionAsyncClient.)

System_CAPS_pubmethod CreateStreamingJob(StreamingMapReduceJobCreateParameters)

Submits a streaming job to Hadoop cluster.(Inherited from IJobSubmissionSyncClient.)

System_CAPS_pubmethod CreateStreamingJobAsync(StreamingMapReduceJobCreateParameters)

Submits a streaming job to Hadoop cluster.(Inherited from IJobSubmissionAsyncClient.)

System_CAPS_pubmethod Dispose()

(Inherited from IDisposable.)

System_CAPS_pubmethod DownloadJobTaskLogs(String, String)

Downloads task logs of the job.(Inherited from IJobSubmissionSyncClient.)

System_CAPS_pubmethod DownloadJobTaskLogsAsync(String, String)

Downloads task logs of the job.(Inherited from IJobSubmissionAsyncClient.)

System_CAPS_pubmethod GetCustomUserAgent()

Returns custom user agent to pass along with all job submissions.

System_CAPS_pubmethod GetJob(String)

Gets the job details synchronously using the job ID.(Inherited from IJobSubmissionSyncClient.)

System_CAPS_pubmethod GetJobAsync(String)

Gets the job details asynchronously using the job ID.(Inherited from IJobSubmissionAsyncClient.)

System_CAPS_pubmethod GetJobErrorLogs(String)

Gets the error logs for a specified job.(Inherited from IJobSubmissionSyncClient.)

System_CAPS_pubmethod GetJobErrorLogsAsync(String)

Gets the error log of the job asynchronously.(Inherited from IJobSubmissionAsyncClient.)

System_CAPS_pubmethod GetJobOutput(String)

Gets the output of a specified job.(Inherited from IJobSubmissionSyncClient.)

System_CAPS_pubmethod GetJobOutputAsync(String)

Gets the output of the job asynchronously.(Inherited from IJobSubmissionAsyncClient.)

System_CAPS_pubmethod GetJobTaskLogSummary(String)

Gets the task log summary for a specified job.(Inherited from IJobSubmissionSyncClient.)

System_CAPS_pubmethod GetJobTaskLogSummaryAsync(String)

Gets the task log summary of the job asynchronously.(Inherited from IJobSubmissionAsyncClient.)

System_CAPS_pubmethod HandleClusterWaitNotifyEvent(JobDetails)

Used to handle the notification events during waiting.(Inherited from IJobSubmissionAsyncClient.)

System_CAPS_pubmethod ListJobs()

Lists the jobs currently on the Hadoop cluster.(Inherited from IJobSubmissionSyncClient.)

System_CAPS_pubmethod ListJobsAsync()

Lists the jobs currently on the Hadoop cluster.(Inherited from IJobSubmissionAsyncClient.)

System_CAPS_pubmethod RemoveLogWriter(ILogWriter)

Removes a log writer.(Inherited from IHadoopClientBase.)

System_CAPS_pubmethod SetCancellationSource(CancellationTokenSource)

Allows a user to set a custom cancellation source.(Inherited from IHadoopClientBase.)

System_CAPS_pubmethod StopJob(String)

Stops the execution of a job that is running currently.(Inherited from IJobSubmissionSyncClient.)

System_CAPS_pubmethod StopJobAsync(String)

Stops the execution of a running job.(Inherited from IJobSubmissionAsyncClient.)

Events

Name Description
System_CAPS_pubevent JobStatusEvent

Event that is fired when job status changes.(Inherited from IJobSubmissionAsyncClient.)

Extension Methods

Name Description
System_CAPS_pubmethod WaitForJobCompletion(JobCreationResults, TimeSpan, CancellationToken)

Waits a specified duration synchronously for a job from a specified client to complete.(Defined by IHadoopClientExtensions.)

System_CAPS_pubmethod WaitForJobCompletionAsync(JobCreationResults, TimeSpan, CancellationToken)

Overloaded. Waits a specified duration asynchronously for a job from a specified client to complete.(Defined by IHadoopClientExtensions.)

System_CAPS_pubmethod WaitForJobCompletionAsync(String, TimeSpan, CancellationToken)

Overloaded. Waits a specified duration asynchronously for a job from a specified client to complete.(Defined by IHadoopClientExtensions.)

Remarks

IJobSubmissionClient objects are created by the JobSubmissionClientFactory.

See Also

Microsoft.Hadoop.Client Namespace

Return to top