From 60e5c1b516647bf99ef3e9501c0ce04deea13ce9 Mon Sep 17 00:00:00 2001 From: Inigo Goiri Date: Mon, 16 Apr 2018 16:26:54 -0700 Subject: [PATCH] YARN-7773. YARN Federation used Mysql as state store throw exception, Unknown column 'homeSubCluster' in 'field list'. Contributed by Yiran Wu. --- .../FederationStateStore/MySQL/FederationStateStoreTables.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-yarn-project/hadoop-yarn/bin/FederationStateStore/MySQL/FederationStateStoreTables.sql b/hadoop-yarn-project/hadoop-yarn/bin/FederationStateStore/MySQL/FederationStateStoreTables.sql index 67a181754b..57cecb2e33 100644 --- a/hadoop-yarn-project/hadoop-yarn/bin/FederationStateStore/MySQL/FederationStateStoreTables.sql +++ b/hadoop-yarn-project/hadoop-yarn/bin/FederationStateStore/MySQL/FederationStateStoreTables.sql @@ -22,7 +22,7 @@ USE FederationStateStore CREATE TABLE applicationsHomeSubCluster( applicationId varchar(64) NOT NULL, - subClusterId varchar(256) NULL, + homeSubCluster varchar(256) NULL, CONSTRAINT pk_applicationId PRIMARY KEY (applicationId) );