...
Code Block |
---|
java -cp lib/dk.netarkivet.archive.jar -Dsettings.common.applicationInstanceId=CHECKSUM -Ddk.netarkivet.settings.file=conf/conf/settings_IndexServerApplicationBitarchiveApplication.xml dk.netarkivet.archive.tools.RunBatch -Cbatchprogs/ChecksumJob.class -R.*.arc -Ooutput.checksum |
Consol output should be something like:
Code Block |
---|
Mar 16, 2009 11:23:12 AM dk.netarkivet.archive.arcrepository.distribute.JMSArcRepositoryClient <init>
INFO: JMSArcRepositoryClient will retry a store 3 times and timeout on each try after 3600000 milliseconds, and timeout on each getrequest after 60000 milliseconds.
Mar 16, 2009 11:23:12 AM dk.netarkivet.common.distribute.JMSConnectionSunMQ <init>
INFO: Creating instance of dk.netarkivet.common.distribute.JMSConnectionSunMQ
Mar 16, 2009 11:23:12 AM dk.netarkivet.common.distribute.JMSConnection initConnection
INFO: Initializing a JMS connection of type 'class dk.netarkivet.common.distribute.JMSConnectionSunMQ' to Broker at kb-test-adm-001.kb.dk:7676.
Mar 16, 2009 11:23:13 AM dk.netarkivet.archive.arcrepository.distribute.JMSArcRepositoryClient <init>
INFO: JMSArcRepository listens for replies on channel '[Queue 'JOLF_COMMON_THIS_REPOS_CLIENT_130_226_228_5_ISA']'
Running batch job 'batchprogs/ChecksumJob.class' on files matching 'arc.*' on replica 'KBN', output written to file 'output.checksum', errors written to stderr
Processed 11 files with 0 failures
Cleaning up dk.netarkivet.common.distribute.JMSConnectionSunMQ
Cleaned up dk.netarkivet.common.distribute.JMSConnectionSunMQ |
Content of file output.checksum should This should produce a file output.checksum with be something like:
Code Block |
---|
1-metadata-1.arc##9dca301f9ecd3663bbb3cdc91009562c 1-1-2009031609264120130114144130-0000300001-kb-test-har-002001.kb.dk.arc##c68b3e18f7b870b76d86de7970a822c2arc##1abe93f92569154da3f629255146dcfd 21-21-2009031609264320130114144130-0000300002-kb-test-har-001.kb.dk.arc##7d723dd4d374437c5e29e995521bf014arc##6b2801ca68d7c96af8b05ba9e9ae47b4 1-1-2009031609264120130114144130-0000100003-kb-test-har-002001.kb.dk.arc##038c1a09bed89a6f7bdb7db029c98c9barc##5c77d44ad9fc9290f2cd6639562ed11a 21-21-2009031609264320130114144130-0000200000-kb-test-har-001.kb.dk.arc##7eef07cc6332c5e97ef80b92d1428e2d 2-metadata-1.arc##1ef96326228f9e705db6d14087be9fe8 1-1-20090316092641-00002-kb-test-har-002.kb.dk.arc##b2ce92e8381b3e4ee4780af0be24b0ee arc##c1e533f574a46576fc14393581428129 |
EvilBatch
Writes the sentence 'evil' for each bitarchive.
Run
Code Block |
---|
java -cp lib/dk.netarkivet.archive.jar -Dsettings.common.applicationInstanceId=CHECKSUM -Ddk.netarkivet.settings.file=conf/settings_IndexServerApplication.xml dk.netarkivet.archive.tools.RunBatch -Cbatchprogs/ChecksumJob.class -R.*.arc -Ooutput.checksum |
This should produce a file output.checksum with be something like:
Code Block |
---|
1-metadata-1.arc##ff2b5bdd901a4045f06e8c3171f7b6e9arc##9dca301f9ecd3663bbb3cdc91009562c 21-21-2009031609264320130114144130-0000000001-kb-test-har-001.kb.dk.arc##a050db8b02c05270eeacac6de3f328e9arc##1abe93f92569154da3f629255146dcfd 1-1-2009031609264120130114144130-0000000002-kb-test-har-002001.kb.dk.arc##e0dedb1584f422d54a36f2684ce8ee56arc##6b2801ca68d7c96af8b05ba9e9ae47b4 1-1-2009031609340320130114144130-0000400003-kb-test-har-002001.kb.dk.arc##bb3f96f74d9c8d1ae545ec84d914d976arc##5c77d44ad9fc9290f2cd6639562ed11a 21-21-2009031609264320130114144130-0000100000-kb-test-har-001.kb.dk.arc##a321400d7a168230e5ed7d8427be05bearc##c1e533f574a46576fc14393581428129 |