I'm processing the zip files in Hadoop. Each zip file contains 2000 XML files. A single mapper will take 90 to 60 min to complete the process. I'm using Windows and 6 core machine with 12 GB RAM .
My question is: My progress bar is showing only the result at the completion of the process. The progress status is being 0% until the completion of the task as below
How can I pragmatically change the progress value?
I tried the following code:
InputDocXmlCount++;
if (InputDocXmlCount % 100 == 0)
{
context.progress();
runningJob.mapProgress();
}
But I don't know how to do this? Can any one help me?