From cd9db822f0c1efc52005b1c069d52910d88038d9 Mon Sep 17 00:00:00 2001 From: Subru Krishnan Date: Thu, 13 Jul 2017 18:53:21 -0700 Subject: [PATCH] YARN-6821. Move FederationStateStore SQL DDL files from test resource to sbin. --- .../src/main/resources/assemblies/hadoop-yarn-dist.xml | 1 + .../SQLServer/FederationStateStoreStoreProcs.sql | 0 .../SQLServer/FederationStateStoreTables.sql | 0 3 files changed, 1 insertion(+) rename hadoop-yarn-project/hadoop-yarn/{hadoop-yarn-server/hadoop-yarn-server-common/src/test/resources => bin}/FederationStateStore/SQLServer/FederationStateStoreStoreProcs.sql (100%) rename hadoop-yarn-project/hadoop-yarn/{hadoop-yarn-server/hadoop-yarn-server-common/src/test/resources => bin}/FederationStateStore/SQLServer/FederationStateStoreTables.sql (100%) diff --git a/hadoop-assemblies/src/main/resources/assemblies/hadoop-yarn-dist.xml b/hadoop-assemblies/src/main/resources/assemblies/hadoop-yarn-dist.xml index 74ce9bcf768..289061f8add 100644 --- a/hadoop-assemblies/src/main/resources/assemblies/hadoop-yarn-dist.xml +++ b/hadoop-assemblies/src/main/resources/assemblies/hadoop-yarn-dist.xml @@ -61,6 +61,7 @@ stop-yarn.sh start-yarn.cmd stop-yarn.cmd + FederationStateStore**/** 0755 diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/test/resources/FederationStateStore/SQLServer/FederationStateStoreStoreProcs.sql b/hadoop-yarn-project/hadoop-yarn/bin/FederationStateStore/SQLServer/FederationStateStoreStoreProcs.sql similarity index 100% rename from hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/test/resources/FederationStateStore/SQLServer/FederationStateStoreStoreProcs.sql rename to hadoop-yarn-project/hadoop-yarn/bin/FederationStateStore/SQLServer/FederationStateStoreStoreProcs.sql diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/test/resources/FederationStateStore/SQLServer/FederationStateStoreTables.sql b/hadoop-yarn-project/hadoop-yarn/bin/FederationStateStore/SQLServer/FederationStateStoreTables.sql similarity index 100% rename from hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/test/resources/FederationStateStore/SQLServer/FederationStateStoreTables.sql rename to hadoop-yarn-project/hadoop-yarn/bin/FederationStateStore/SQLServer/FederationStateStoreTables.sql