hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hubertzh...@apache.org
Subject incubator-hawq git commit: HAWQ-115. Format the log of datalocality
Date Mon, 02 Nov 2015 02:34:27 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 54eafe1d3 -> f5c80cb75


HAWQ-115. Format the log of datalocality


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/f5c80cb7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/f5c80cb7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/f5c80cb7

Branch: refs/heads/master
Commit: f5c80cb755fcd88aecdae488d014432ae0b47e8a
Parents: 54eafe1
Author: hubertzhang <hzhang@pivotal.io>
Authored: Mon Nov 2 10:28:50 2015 +0800
Committer: hubertzhang <hzhang@pivotal.io>
Committed: Mon Nov 2 10:28:50 2015 +0800

----------------------------------------------------------------------
 src/backend/cdb/cdbdatalocality.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f5c80cb7/src/backend/cdb/cdbdatalocality.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbdatalocality.c b/src/backend/cdb/cdbdatalocality.c
index c429b33..d4484fa 100644
--- a/src/backend/cdb/cdbdatalocality.c
+++ b/src/backend/cdb/cdbdatalocality.c
@@ -3254,10 +3254,10 @@ static void print_datalocality_overall_log_information(SplitAllocResult
*result,
 	}
 	/* print data locality result*/
 	elog(
-			LOG, "datalocality ratio: %.3f; virtual segments number: %d, "
-			"different host number: %d, segment number per host(avg/min/max): (%d/%d/%d); "
-			"segments size(avg/min/max): (%.3f/"INT64_FORMAT"/"INT64_FORMAT"); "
-			"segments size with penalty(avg/min/max): (%.3f/"INT64_FORMAT"/"INT64_FORMAT"); continuity(avg/min/max):
(%.3f/%.3f/%.3f)."
+			LOG, "data locality ratio: %.3f; virtual segment number: %d; "
+			"different host number: %d; virtual segment number per host(avg/min/max): (%d/%d/%d);
"
+			"segment size(avg/min/max): (%.3f/"INT64_FORMAT"/"INT64_FORMAT"); "
+			"segment size with penalty(avg/min/max): (%.3f/"INT64_FORMAT"/"INT64_FORMAT"); continuity(avg/min/max):
(%.3f/%.3f/%.3f)."
 			,log_context->datalocalityRatio,assignment_context->virtual_segment_num,log_context->numofDifferentHost,
 			log_context->avgSegmentNumofHost,log_context->minSegmentNumofHost,log_context->maxSegmentNumofHost,
 			log_context->avgSizeOverall,log_context->minSizeSegmentOverall,log_context->maxSizeSegmentOverall,


Mime
View raw message