Пример #1
0
        public static string GetJobFile(Configuration conf, string user, JobID jobId)
        {
            Path jobFile = new Path(MRApps.GetStagingAreaDir(conf, user), jobId.ToString() +
                                    Path.Separator + MRJobConfig.JobConfFile);

            return(jobFile.ToString());
        }
Пример #2
0
        public static Path GetStartJobCommitFile(Configuration conf, string user, JobId jobId
                                                 )
        {
            Path startCommitFile = new Path(MRApps.GetStagingAreaDir(conf, user), jobId.ToString
                                                () + Path.Separator + "COMMIT_STARTED");

            return(startCommitFile);
        }
Пример #3
0
        public static Path GetEndJobCommitFailureFile(Configuration conf, string user, JobId
                                                      jobId)
        {
            Path endCommitFile = new Path(MRApps.GetStagingAreaDir(conf, user), jobId.ToString
                                              () + Path.Separator + "COMMIT_FAIL");

            return(endCommitFile);
        }