Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/19585 )
Change subject: KUDU-3437 Set default block_cache_metrics_policy to reset ...................................................................... KUDU-3437 Set default block_cache_metrics_policy to reset If the master has empty local directories and connects to an existing cluster, it executes Master::Init twice, which executes StartInstrumentation twice, which is only allowed if it's a test or the policy is to reset the existing CacheMetrics. According to documentation ExistingMetricsPolicy::kKeep should only be used during tests, so the default value is set to kReset which fixes the original issue. Change-Id: Idc32d7ab02201382debcbe36311579550353bf71 Reviewed-on: http://gerrit.cloudera.org:8080/19585 Tested-by: Kudu Jenkins Reviewed-by: Yuqi Du <[email protected]> Reviewed-by: Alexey Serbin <[email protected]> --- M src/kudu/master/master_options.cc M src/kudu/master/mini_master.cc 2 files changed, 3 insertions(+), 1 deletion(-) Approvals: Kudu Jenkins: Verified Yuqi Du: Looks good to me, but someone else must approve Alexey Serbin: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/19585 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Idc32d7ab02201382debcbe36311579550353bf71 Gerrit-Change-Number: 19585 Gerrit-PatchSet: 6 Gerrit-Owner: Ádám Bakai <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Attila Bukor <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Wang Xixu <[email protected]> Gerrit-Reviewer: Yuqi Du <[email protected]> Gerrit-Reviewer: Zoltan Chovan <[email protected]> Gerrit-Reviewer: Ádám Bakai <[email protected]>
