YARN-6798. Fix NM startup failure with old state store due to version mismatch. (Botong Huang via rchiang)
This commit is contained in:
parent
0b7afc060c
commit
f5f14a2ad6
|
@ -85,7 +85,11 @@ public class NMLeveldbStateStoreService extends NMStateStoreService {
|
|||
private static final String DB_NAME = "yarn-nm-state";
|
||||
private static final String DB_SCHEMA_VERSION_KEY = "nm-schema-version";
|
||||
|
||||
private static final Version CURRENT_VERSION_INFO = Version.newInstance(3, 0);
|
||||
/**
|
||||
* Changes from 1.0 to 1.1: Save AMRMProxy state in NMSS.
|
||||
* Changes from 1.2 to 1.2: Save queued container information.
|
||||
*/
|
||||
private static final Version CURRENT_VERSION_INFO = Version.newInstance(1, 2);
|
||||
|
||||
private static final String DELETION_TASK_KEY_PREFIX =
|
||||
"DeletionService/deltask_";
|
||||
|
|
Loading…
Reference in New Issue