Changeset 28012 for gs2-extensions/parallel-building/trunk
- Timestamp:
- 2013-08-09T13:13:50+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/parallel-building/trunk/src/src/java/org/nzdl/gsdl/HadoopGreenstoneIngest2.java
r27910 r28012 223 223 224 224 // - 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; 226 226 StringBuffer header_block = new StringBuffer("[Started:"); 227 header_block.append( start_time);227 header_block.append(String.format("%.6f", start_time)); 228 228 header_block.append("]\n[Host:"); 229 229 header_block.append(hostname); … … 486 486 String gsdl_home = conf.get("gsdlhome"); 487 487 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"); 490 490 // Eventually I'd like to read in database type from collect.cfg - or 491 491 // maybe have it passed in as part of the context - but I'll hardcode
Note:
See TracChangeset
for help on using the changeset viewer.