Microsoft.Azure.Management.HDInsight.Job 2.0.0-preview

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
Suggested Alternatives

Azure.ResourceManager.HDInsight

Additional Details

Please note, this package is obsolete as of 9/30/2023 and is no longer maintained or monitored. Microsoft encourages you to upgrade to the replacement package, Azure.ResourceManager.HDInsight, to continue receiving updates. Refer to the migration guide (https://aka.ms/dotnet/t2/migration) for guidance on upgrading. Refer to our deprecation policy (https://aka.ms/azsdk/support-policies) for more details.

This is a prerelease version of Microsoft.Azure.Management.HDInsight.Job.
There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.5 or higher.

dotnet add package Microsoft.Azure.Management.HDInsight.Job --version 2.0.0-preview
NuGet\Install-Package Microsoft.Azure.Management.HDInsight.Job -Version 2.0.0-preview
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Azure.Management.HDInsight.Job" Version="2.0.0-preview" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Azure.Management.HDInsight.Job --version 2.0.0-preview
#r "nuget: Microsoft.Azure.Management.HDInsight.Job, 2.0.0-preview"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.Azure.Management.HDInsight.Job as a Cake Addin
#addin nuget:?package=Microsoft.Azure.Management.HDInsight.Job&version=2.0.0-preview&prerelease

// Install Microsoft.Azure.Management.HDInsight.Job as a Cake Tool
#tool nuget:?package=Microsoft.Azure.Management.HDInsight.Job&version=2.0.0-preview&prerelease

The HDInsight job management client.

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.7 269,023 10/26/2018
2.0.5 75,372 12/16/2016
2.0.4 18,768 11/1/2016
2.0.3 8,788 6/7/2016
2.0.2 3,106 5/4/2016
2.0.1-preview 1,515 4/20/2016
2.0.0-preview 2,356 3/15/2016
1.1.0-preview 2,637 1/22/2016
1.0.7-preview 3,266 10/21/2015
1.0.6-preview 2,727 9/23/2015
1.0.5-preview 3,567 9/4/2015
1.0.4-preview 1,537 9/3/2015
1.0.3-preview 1,556 9/1/2015
1.0.2-preview 2,202 8/13/2015
1.0.1-preview 3,110 7/31/2015

Some parameters of the job submission objects have changed:

 *  HiveJobSubmissionParameters
      1.   The parameter “Arguments” now has type IList<string>.
      2.   The parameter “Files” now has type IList<string>.
      3.   The parameter “Defines” now has type IDictionary<string, string>.
   
 *  MapReduceJobSubmissionParameters
      1.   The parameter “Arguments” now has type IList<string>.
      2.   The parameter “Files” now has type IList<string>.
      3.   The parameter “LibJars” now has type IList<string>.
      4.   The parameter “Defines” now has type IDictionary<string, string>.
      5.   The parameter “CmdEnv” now has type IDictionary<string, string>.
   
 *  MapReduceStreamingJobSubmissionParameters
      1.   The parameter “Arguments” now has type IList<string>.
      2.   The parameter “Defines” now has type IDictionary<string, string>.
      3.   There is a new parameter “Files” with type IDictionary<string, string>.
   
 *  PigJobSubmissionParameters
      1.   The parameter “Arguments” now has type IList<string>.
      2.   The parameter “Files” now has type IList<string>.
   
 *  SqoopJobSubmissionParameters
      1.   The parameter “Files” now has type IList<string>.
      2.   There is a new parameter “LibDir” with type string.
   
 *  You no longer need to provide a StatusDir argument for job submission requests – one is automatically generated for you.

 *  The unused parameter “UserName” has been removed for all job submission objects. The actual username is automatically picked up from BasicAuthenticationCloudCredentials.

 *  The unused parameter “errorLog” has been removed for all job submission objects. Task log collection is not supported in Hadoop 2.0 or greater. See JIRAs HIVE-6063 and HIVE-6671.

The methods “DownloadJobTaskLogsAsync”, “DownloadJobTaskLogs”, “GetJobTaskLogSummary”, and “GetJobTaskLogSummaryAsync” have been removed. Task log collection is not supported in Hadoop 2.0 or greater. See JIRAs HIVE-6063 and HIVE-6671.

The constructor for HDInsightJobManagementClient now supports providing an HTTP client retry policy for Job REST requests as an optional parameter.

 *  Example:
      public HDInsightJobManagementClient(string clusterDnsName, BasicAuthenticationCloudCredentials credentials, RetryPolicy retryPolicy = null)

 *  If a retry policy is not provided, then a default retry policy (HDInsightJobManagementClient.HDInsightRetryPolicy) will be used.

The methods “GetJobOutput”(+Async) and “GetJobErrorLogsAsync”(+Async) now accept an AzureStorageAccess object as input for storage details instead of three string arguments.

 *  Examples:
      Task<Stream> GetJobOutputAsync(string jobId, IStorageAccess storageAccess, CancellationToken cancellationToken);
      Stream GetJobOutput(this IJobOperations operations, string jobId, IStorageAccess storageAccess)
      Task<Stream> GetJobErrorLogsAsync(string jobId, IStorageAccess storageAccess, CancellationToken cancellationToken);
      Stream GetJobErrorLogs(this IJobOperations operations, string jobId, IStorageAccess storageAccess)

 *  Create the AzureStorageAccess object by providing Azure storage account details:
      new AzureStorageAccess(TestUtils.StorageAccountName, TestUtils.StorageAccountKey, TestUtils.DefaultContainer)