private void addNewTableEntryInMap(
    final Map<String, List<Pair<byte[], List<String>>>> bulkLoadHFileMap, byte[] family,
    String pathToHfileFromNS, String tableName) {
    List<String> hfilePaths = new ArrayList<>(1);
    hfilePaths.add(pathToHfileFromNS);
    Pair<byte[], List<String>> newFamilyHFilePathsPair = new Pair<>(family, hfilePaths);
    List<Pair<byte[], List<String>>> newFamilyHFilePathsList = new ArrayList<>();
    newFamilyHFilePathsList.add(newFamilyHFilePathsPair);
    bulkLoadHFileMap.put(tableName, newFamilyHFilePathsList);
  }
Replicate this array of entries directly into the local cluster using the native client. Only
operates against raw protobuf type saving on a conversion from pb to pojo.
@param entries                    WAL entries to be replicated.
@param cells                      cell scanner for iteration.
@param replicationClusterId       Id which will uniquely identify source cluster FS client
                                  configurations in the replication configuration directory
@param sourceBaseNamespaceDirPath Path that point to the source cluster base namespace
                                  directory
@param sourceHFileArchiveDirPath  Path that point to the source cluster hfile archive directory
@throws IOException If failed to replicate the data
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSink.java