@Override
    public void serialize(Long epoch, JsonGenerator jsonGenerator, SerializerProvider serializerProvider) throws IOException {
      jsonGenerator.writeString(Instant.ofEpochSecond(epoch).toString());
    }
Used to report status of replication stage which is skipped or has some error
@param stageName Name of replication stage
@param status Status skipped or FAILED etc
@param errorLogPath path of error log file
@param conf handle configuration parameter
@param dbName name of database
@param replicationType type of replication incremental, bootstrap, etc
@throws SemanticException
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/util/ReplUtils.java