hadoop/hadoop-yarn-project/hadoop-yarn/bin/FederationStateStore/MySQL/dropStoreProcedures.sql
Carlo Curino 9625a030de YARN-6853. Add MySql Scripts for FederationStateStore. (Contributed by Giovanni Matteo Fumarola via curino)
(cherry picked from commit 874ddbf0b5b1d34aca70ee7fc303cbffdde67236)
2017-08-01 17:28:28 -07:00

48 lines
1.5 KiB
SQL

/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-- Script to drop all the stored procedures for the Federation StateStore in MySQL
USE FederationStateStore
DROP PROCEDURE sp_registerSubCluster;
DROP PROCEDURE sp_deregisterSubCluster;
DROP PROCEDURE sp_subClusterHeartbeat;
DROP PROCEDURE sp_getSubCluster;
DROP PROCEDURE sp_getSubClusters;
DROP PROCEDURE sp_addApplicationHomeSubCluster;
DROP PROCEDURE sp_updateApplicationHomeSubCluster;
DROP PROCEDURE sp_getApplicationHomeSubCluster;
DROP PROCEDURE sp_getApplicationsHomeSubCluster;
DROP PROCEDURE sp_deleteApplicationHomeSubCluster;
DROP PROCEDURE sp_setPolicyConfiguration;
DROP PROCEDURE sp_getPolicyConfiguration;
DROP PROCEDURE sp_getPoliciesConfigurations;