condor_ convert_history [-help]
condor_ convert_history history-file1 [history-file2...]
As of Condor version 6.7.19, the Condor history file has a new format to allow fast searches backwards through the file. Not all queries can take advantage of the speed increase, but the ones that can are significantly faster.
Entries placed in the history file after upgrade to Condor 6.7.19 will automatically be saved in the new format. The new format adds information to the string which distinguishes and separates job entries. In order to search within this new format, no changes are necessary. However, to be able to search the entire history, the history file must be converted to the updated format. condor_ convert_history does this.
Turn the condor_ schedd daemon off while converting history files. Turn it back on after conversion is completed.
Arguments to condor_ convert_history are the history files to convert. The history file is normally in the Condor spool directory; it is named history. Since the history file is rotated, there may be multiple history files, and all of them should be converted. On Unix platform variants, the easiest way to do this is:
cd `condor_config_val SPOOL` condor_convert_history history*
condor_ convert_history makes a
back up of each original history files in case of a problem.
The names of these back up files are listed;
names are formed by appending the suffix
to the original file name.
Move these back up files to a directory other than
the spool directory.
If kept in the spool directory,
condor_ history will find the back ups,
and will appear to have duplicate jobs.
condor_ convert_history will exit with a status value of 0 (zero) upon success, and it will exit with the value 1 (one) upon failure.
U.S. Government Rights Restrictions: Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of The Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 or subparagraphs (c)(1) and (2) of Commercial Computer Software-Restricted Rights at 48 CFR 52.227-19, as applicable, Condor Team, Attention: Professor Miron Livny, 7367 Computer Sciences, 1210 W. Dayton St., Madison, WI 53706-1685, (608) 262-0856 or email@example.com.
See the Condor Version 6.8.3 Manual for additional notices.