This project is read-only.
1
Vote

HDInsight: JobDetails have incorrect StatusCode values when getting job using JobClient

description

Hi,

I am using HDInsight .NET SDK for submitting Hive jobs to the cluster and I noticed that the JobDetails object have incorrect values when we get a job using JobClient(jobId).

For instance, the JobDetails object of a job which was "Failed" will have StatusCode value as "Completed".
See code snippet below:

jobDetails = await jobClient.GetJobAsync(jobId);
Console.Writeline(jobDetails.StatusCode);

See the attached screen grab, left hand side is from the HDInsight Query console showing that the job was Failed, Where as on the right hand side (black bg) the status is shown as Completed using .net sdk.

This bug was about to go in our production environment and would have resulted in incorrect calculations which are very business critical. Can you please look into this issue.

Thanks,
Parag

file attachments

comments