Provides creation details for a new Hive jobDetails.
Inheritance: AzureHDInsightJobDefinition
Ejemplo n.º 1
0
        public virtual JobSubmissionResponse SubmitSqoopJob(AzureHDInsightSqoopJobDefinition sqoopJobDef)
        {
            var sqoopJobParams = new SqoopJobSubmissionParameters
            {
                Command   = sqoopJobDef.Command,
                File      = sqoopJobDef.File,
                Files     = ConvertListToString(sqoopJobDef.Files, "file"),
                StatusDir = sqoopJobDef.StatusFolder,
                UserName  = HdInsightJobManagementClient.Credentials.Username
            };

            return(HdInsightJobManagementClient.JobManagement.SubmitSqoopJob(sqoopJobParams));
        }
Ejemplo n.º 2
0
        public virtual JobSubmissionResponse SubmitSqoopJob(AzureHDInsightSqoopJobDefinition sqoopJobDef)
        {
            var sqoopJobParams = new SqoopJobSubmissionParameters
            {
                Command   = sqoopJobDef.Command,
                File      = sqoopJobDef.File,
                Files     = sqoopJobDef.Files,
                LibDir    = sqoopJobDef.LibDir,
                StatusDir = sqoopJobDef.StatusFolder
            };

            return(HdInsightJobManagementClient.JobManagement.SubmitSqoopJob(sqoopJobParams));
        }
 public NewAzureHDInsightSqoopJobDefinitionCommand()
 {
     Files = new string[] { };
     job = new AzureHDInsightSqoopJobDefinition();
 }
 public virtual JobSubmissionResponse SubmitSqoopJob(AzureHDInsightSqoopJobDefinition sqoopJobDef)
 {
     var sqoopJobParams = new SqoopJobSubmissionParameters
     {
         Command = sqoopJobDef.Command,
         File = sqoopJobDef.File,
         Files = ConvertListToString(sqoopJobDef.Files, "file"),
         StatusDir = sqoopJobDef.StatusFolder,
         UserName = HdInsightJobManagementClient.Credentials.Username
     };
     return HdInsightJobManagementClient.JobManagement.SubmitSqoopJob(sqoopJobParams);
 }
 public virtual JobSubmissionResponse SubmitSqoopJob(AzureHDInsightSqoopJobDefinition sqoopJobDef)
 {
     var sqoopJobParams = new SqoopJobSubmissionParameters
     {
         Command = sqoopJobDef.Command,
         File = sqoopJobDef.File,
         Files = sqoopJobDef.Files,
         LibDir = sqoopJobDef.LibDir,
         StatusDir = sqoopJobDef.StatusFolder
     };
     return HdInsightJobManagementClient.JobManagement.SubmitSqoopJob(sqoopJobParams);
 }