/// <summary>
        /// Constructs a reducer task object.
        /// </summary>
        public ReducerTask()
        {
            this.configurationSettings = Settings.Default;

            //Read some important data from preconfigured environment variables on the Batch compute node.
            this.accountName = Environment.GetEnvironmentVariable("AZ_BATCH_ACCOUNT_NAME");
            this.jobId = Environment.GetEnvironmentVariable("AZ_BATCH_JOB_ID");
        }
Example #2
0
 /// <summary>
 /// Constructs a mapper task object with the specified blob SAS.
 /// </summary>
 /// <param name="blobSas">The blob SAS to use.</param>
 public MapperTask(string blobSas)
 {
     this.blobSas = blobSas;
     this.configurationSettings = Settings.Default;
 }
 /// <summary>
 /// Constructs a JobSubmitter with default values.
 /// </summary>
 public JobSubmitter()
 {
     //Load the configuration settings.
     configurationSettings = Settings.Default;
 }