public static void main(String[] args) throws Exception {
   ProgressiveFileBasedCSMap b = new ProgressiveFileBasedCSMap();
   b.init(1000000, "/opt/sdfs/hash");
   long start = System.currentTimeMillis();
   Random rnd = new Random();
   byte[] hash = null;
   long val = -33;
   byte[] hash1 = null;
   long val1 = -33;
   Tiger16HashEngine eng = new Tiger16HashEngine();
   for (int i = 0; i < 60000; i++) {
     byte[] z = new byte[64];
     rnd.nextBytes(z);
     hash = eng.getHash(z);
     val = rnd.nextLong();
     if (i == 1) {
       val1 = val;
       hash1 = hash;
     }
     if (val < 0) val = val * -1;
     ChunkData cm = new ChunkData(hash, val);
     boolean k = b.put(cm);
     if (k == false) System.out.println("Unable to add this " + k);
   }
   long end = System.currentTimeMillis();
   System.out.println("Took " + (end - start) / 1000 + " s " + val1);
   System.out.println(
       "Took " + (System.currentTimeMillis() - end) / 1000 + " ms at pos " + b.get(hash1));
   b.claimRecords(SDFSEvent.gcInfoEvent("testing 123"));
   b.close();
 }