* Log the options set by user
*
* @param giraphConf GiraphConfiguration
*/
private void logOptions(GiraphConfiguration giraphConf) {
GiraphClasses classes = new GiraphClasses(giraphConf);
LOG.info(getClass().getSimpleName() + " with");
LOG.info(LOG_PREFIX + "-vertexClass=" + vertexClass.getCanonicalName());
if (hiveToVertexClass != null) {
LOG.info(LOG_PREFIX + "-hiveToVertexClass=" +
hiveToVertexClass.getCanonicalName());
}
if (classes.getVertexInputFormatClass() != null) {
LOG.info(LOG_PREFIX + "-vertexInputFormatClass=" +
classes.getVertexInputFormatClass().getCanonicalName());
logInputDesc(hiveVertexInputDescription, "vertex");
}
if (hiveToEdgeClass != null) {
LOG.info(LOG_PREFIX + "-hiveToEdgeClass=" +
hiveToEdgeClass.getCanonicalName());
}
if (classes.getEdgeInputFormatClass() != null) {
LOG.info(LOG_PREFIX + "-edgeInputFormatClass=" +
classes.getEdgeInputFormatClass().getCanonicalName());
logInputDesc(hiveEdgeInputDescription, "edge");
}
LOG.info(LOG_PREFIX + "-outputTable=" +
hiveOutputDescription.getTableName());
if (hiveOutputDescription.hasPartitionValues()) {
LOG.info(LOG_PREFIX + "-outputPartition=\"" +
hiveOutputDescription.getPartitionValues() + "\"");
}
if (classes.getVertexOutputFormatClass() != null) {
LOG.info(LOG_PREFIX + "-outputFormatClass=" +
classes.getVertexOutputFormatClass().getCanonicalName());
}
LOG.info(LOG_PREFIX + "-workers=" + workers);
}