Changeset 27571

Show
Ignore:
Timestamp:
07.06.2013 11:27:08 (6 years ago)
Author:
jmt12
Message:

increase timeout to 4 hours per map

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs2-extensions/parallel-building/trunk/src/src/java/org/nzdl/gsdl/HadoopGreenstoneIngest.java

    r27566 r27571  
    324324    conf.setInt("mapreduce.map.max.attempts", 1); // Solution on Web 
    325325    // prevent timeouts 
    326     long milli_seconds = 60*60*1000; // 1 hour 
     326    long milli_seconds = 4*60*60*1000; // 4 hour 
    327327    conf.setLong("mapred.task.timeout", milli_seconds); 
    328328    Job job = new Job(conf, "hadoopgreenstoneingest"); 
     
    400400  { 
    401401    this.hadoop_process = hadoop_process; 
    402     this.log_file = log_file; 
     402    //this.log_file = log_file; 
     403    this.log_file = new File("/tmp/hadoop_progress_reporter.log"); 
    403404  } 
    404405