public static void main(String args[]) throws Exception {
    VerifiableProperties verifiableProperties = ToolUtils.getVerifiableProperties(args);
    MetricRegistry registry = new MetricRegistry();
    StoreToolsMetrics metrics = new StoreToolsMetrics(registry);
    JmxReporter reporter = null;
    try {
      reporter = JmxReporter.forRegistry(registry).build();
      reporter.start();
      DumpDataTool dumpDataTool = new DumpDataTool(verifiableProperties, metrics);
      dumpDataTool.doOperation();
    } finally {
      if (reporter != null) {
        reporter.stop();
      }
    }
  }
Tool to assist in dumping data from data files in Ambry
Supported operations are
1. Compare Index entries to Log entries
2. Compare all entries in all indexes in a replica to Log entries
3. Compare Log entries to index entries
ambry-tools/src/main/java/com/github/ambry/store/DumpDataTool.java