wynot12 commented on a change in pull request #224: [NEMO-375] Clean up of
remnants of #211
URL: https://github.com/apache/incubator-nemo/pull/224#discussion_r327434896
##########
File path:
runtime/master/src/main/java/org/apache/nemo/runtime/master/metric/MetricStore.java
##########
@@ -278,6 +278,10 @@ public void saveOptimizationMetricsToDB(final String
address, final String jobId
final String dbId, final String
dbPasswd) {
final String[] syntax = {"SERIAL PRIMARY KEY"};
+ if (MetricUtils.metaDataLoaded()) {
+ MetricUtils.loadMetaData();
+ }
+
if (!MetricUtils.metaDataLoaded()) {
Review comment:
The above if conditional statement can be merged with this one.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services