Changeset 30953


Ignore:
Timestamp:
2016-10-26T18:00:53+13:00 (5 years ago)
Author:
davidb
Message:

Need to specify _output_dir as part of output JSON filename

File:
1 edited

Legend:

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

    r30951 r30953  
    100100            }
    101101           
    102            
    103            
    104102            String output_json_bz2 = page_json_dir +"/" + formatted_i + ".json.bz2";
    105103            ids.add(output_json_bz2);
     
    112110            JSONObject ef_page = ef_pages.getJSONObject(i);
    113111            try {
    114                 BufferedWriter bw = ClusterFileIO.getBufferedWriterForCompressedFile(output_json_bz2);
     112                BufferedWriter bw = ClusterFileIO.getBufferedWriterForCompressedFile(_output_dir + "/" + output_json_bz2);
    115113                bw.write(ef_page.toString());
    116114                bw.close();
Note: See TracChangeset for help on using the changeset viewer.