Ignore:
Timestamp:
10/29/16 16:57:17 (4 years ago)
Author:
davidb
Message:

Debugging for double accumulator added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/hathitrust/solr-extracted-features/trunk/src/main/java/org/hathitrust/PrepareForIngest.java

    r30985 r30986  
    5050        double per_vol = 100.0/(double)num_volumes;
    5151       
    52         DoubleAccumulator progress_accum = jsc.sc().doubleAccumulator("ProgressPercent");
     52        DoubleAccumulator progress_accum = jsc.sc().doubleAccumulator("Progress Percent");
    5353       
    5454        PagedJSON paged_json = new PagedJSON(_input_dir,_solr_url,_output_dir,_verbosity, progress_accum,per_vol);
     
    5858
    5959   
     60
     61        System.out.println("");
     62        System.out.println("############");
     63        System.out.println("# Progress Accumulator: " + progress_accum.value());
     64        System.out.println("############");
     65        System.out.println("");
     66
     67       
    6068        //long num_ids = json_ids.count();
    6169        long num_ids = num_volumes;
Note: See TracChangeset for help on using the changeset viewer.