Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

String Impala::Job::Runner::GetJobErrorLog ( int  jobId  )  [inline, private]

Definition at line 330 of file Runner.h.

References Impala::FileReadString(), and Impala::MakeString().

Referenced by RunJob().

00331     {
00332         String res("no job errors found");
00333         std::vector<String> errs;
00334         String fName = "job_" + MakeString(jobId) + "_errors.log";
00335 
00336         FileReadString(std::back_inserter(errs), fName, false, false);
00337         if (errs.size() == 0)
00338             return res;
00339 
00340         res = errs[0];
00341         for (int i=1 ; i<errs.size() ; i++)
00342             res += errs[i];
00343         unlink(fName.c_str());
00344         return res;
00345     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:22:21 2011 for ImpalaSrc by  doxygen 1.5.1