Changeset 28012 for gs2-extensions


Ignore:
Timestamp:
2013-08-09T13:13:50+12:00 (11 years ago)
Author:
jmt12
Message:

Express start time as a double as well

File:
1 edited

Legend:

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

    r27910 r28012  
    223223
    224224      // - start the log by writing the time and the manifest line
    225       long start_time = System.currentTimeMillis()/1000;
     225      double start_time = ((double)System.currentTimeMillis())/1000;
    226226      StringBuffer header_block = new StringBuffer("[Started:");
    227       header_block.append(start_time);
     227      header_block.append(String.format("%.6f", start_time));
    228228      header_block.append("]\n[Host:");
    229229      header_block.append(hostname);
     
    486486      String gsdl_home = conf.get("gsdlhome");
    487487      String collection = conf.get("collection");
    488       //String archives_dir = gsdl_home + "/" + collection + "/archives";
    489       String archives_dir = conf.get("archivesdir");
     488      String archives_dir = gsdl_home + "/collect/" + collection + "/archives";
     489      //String archives_dir = conf.get("archivesdir");
    490490      // Eventually I'd like to read in database type from collect.cfg - or
    491491      // maybe have it passed in as part of the context - but I'll hardcode
Note: See TracChangeset for help on using the changeset viewer.