You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (currentVersion != null && !currentVersion.equals(oldVersion)) {
221
+
thrownewSamzaException(
222
+
"Someone change JobModelVersion while the leader was generating one: expected" + oldVersion + ", got " + currentVersion);
223
+
}
224
+
// data version is the ZK version of the data from the ZK.
225
+
intdataVersion = stat.getVersion();
226
+
try {
227
+
stat = zkClient.writeDataReturnStat(keyBuilder.getJobModelVersionPath(), newVersion, dataVersion);
228
+
} catch (Exceptione) {
229
+
Stringmsg = "publish job model version failed for new version = " + newVersion + "; old version = " + oldVersion;
230
+
LOG.error(msg, e);
231
+
thrownewSamzaException(msg);
232
+
}
233
+
LOG.info("pid=" + processorId +
234
+
" published new version: " + newVersion + "; expected data version = " + (dataVersion + 1) + "(actual data version after update = " + stat.getVersion()
0 commit comments