/// <inheritdoc />
 public async Task<HadoopJobCreationResults> SubmitMapReduceJob(HadoopMapReduceJobCreationDetails details)
 {
     JobPayloadConverter converter = new JobPayloadConverter();
     using (var client = ServiceLocator.Instance.Locate<IHDInsightJobSubmissionRestClientFactory>().Create(this.credentials))
     {
         var payload = converter.SerializeJobCreationDetails(details);
         var result = await client.CreateJob(dnsName, location, payload);
         return converter.DeserializeJobCreationResults(result.Content);
     }
 }
        /// <inheritdoc />
        public async Task <HadoopJobCreationResults> SubmitMapReduceJob(HadoopMapReduceJobCreationDetails details)
        {
            JobPayloadConverter converter = new JobPayloadConverter();

            using (var client = ServiceLocator.Instance.Locate <IHDInsightJobSubmissionRestClientFactory>().Create(this.credentials))
            {
                var payload = converter.SerializeJobCreationDetails(details);
                var result  = await client.CreateJob(dnsName, location, payload);

                return(converter.DeserializeJobCreationResults(result.Content));
            }
        }
 public Task<HadoopJobCreationResults> SubmitMapReduceJob(HadoopMapReduceJobCreationDetails details)
 {
     throw new NotImplementedException();
 }
 public Task <HadoopJobCreationResults> SubmitMapReduceJob(HadoopMapReduceJobCreationDetails details)
 {
     throw new NotImplementedException();
 }