public NewAzureHDInsightMapReduceJobDefinitionCommand() { Arguments = new string[] { }; Files = new string[] { }; Defines = new Hashtable(); LibJars = new string[] { }; job = new AzureHDInsightMapReduceJobDefinition(); }
public virtual JobSubmissionResponse SubmitMRJob(AzureHDInsightMapReduceJobDefinition mapredJobDef) { var mapredJobParams = new MapReduceJobSubmissionParameters { Arguments = mapredJobDef.Arguments, Defines = mapredJobDef.Defines, Files = mapredJobDef.Files, JarClass = mapredJobDef.ClassName, LibJars = mapredJobDef.LibJars, JarFile = mapredJobDef.JarFile, StatusDir = mapredJobDef.StatusFolder }; return(HdInsightJobManagementClient.JobManagement.SubmitMapReduceJob(mapredJobParams)); }
public virtual JobSubmissionResponse SubmitMRJob(AzureHDInsightMapReduceJobDefinition mapredJobDef) { var mapredJobParams = new MapReduceJobSubmissionParameters { Arguments = mapredJobDef.Arguments, Defines = mapredJobDef.Defines, Files = mapredJobDef.Files, JarClass = mapredJobDef.ClassName, LibJars = mapredJobDef.LibJars, JarFile = mapredJobDef.JarFile, StatusDir = mapredJobDef.StatusFolder }; return HdInsightJobManagementClient.JobManagement.SubmitMapReduceJob(mapredJobParams); }
public virtual JobSubmissionResponse SubmitMRJob(AzureHDInsightMapReduceJobDefinition mapredJobDef) { var mapredJobParams = new MapReduceJobSubmissionParameters { Arguments = ConvertListToString(mapredJobDef.Arguments, "arg"), Defines = ConvertDefinesToString(mapredJobDef.Defines), Files = ConvertListToString(mapredJobDef.Files, "file"), JarClass = mapredJobDef.ClassName, LibJars = ConvertListToString(mapredJobDef.LibJars, "jar"), JarFile = mapredJobDef.JarFile, StatusDir = mapredJobDef.StatusFolder, UserName = HdInsightJobManagementClient.Credentials.Username }; return(HdInsightJobManagementClient.JobManagement.SubmitMapReduceJob(mapredJobParams)); }
public virtual JobSubmissionResponse SubmitMRJob(AzureHDInsightMapReduceJobDefinition mapredJobDef) { var mapredJobParams = new MapReduceJobSubmissionParameters { Arguments = ConvertListToString(mapredJobDef.Arguments, "arg"), Defines = ConvertDefinesToString(mapredJobDef.Defines), Files = ConvertListToString(mapredJobDef.Files, "file"), JarClass = mapredJobDef.ClassName, LibJars = ConvertListToString(mapredJobDef.LibJars, "jar"), JarFile = mapredJobDef.JarFile, StatusDir = mapredJobDef.StatusFolder, UserName = HdInsightJobManagementClient.Credentials.Username }; return HdInsightJobManagementClient.JobManagement.SubmitMapReduceJob(mapredJobParams); }