opts.parseArgs(LocalityCheck.class.getName(), args);
FileSystem fs = FileSystem.get(CachedConfiguration.getInstance());
Connector connector = opts.getConnector();
Scanner scanner = connector.createScanner(Constants.METADATA_TABLE_NAME, Constants.NO_AUTHS);
scanner.fetchColumnFamily(Constants.METADATA_CURRENT_LOCATION_COLUMN_FAMILY);
scanner.fetchColumnFamily(Constants.METADATA_DATAFILE_COLUMN_FAMILY);
scanner.setRange(Constants.METADATA_KEYSPACE);
Map<String,Long> totalBlocks = new HashMap<String,Long>();
Map<String,Long> localBlocks = new HashMap<String,Long>();