AMBARI-20663. During finalize of HDP upgrade, Ambari should provide a message regarding HBase snapshots (dlysnichenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/48af3ee8 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/48af3ee8 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/48af3ee8 Branch: refs/heads/branch-feature-AMBARI-12556 Commit: 48af3ee8dbe221872abd8ac4fc736acfa30f78ba Parents: 8f95262 Author: Lisnichenko Dmitro <[email protected]> Authored: Mon Apr 3 21:36:20 2017 +0300 Committer: Lisnichenko Dmitro <[email protected]> Committed: Mon Apr 3 21:36:20 2017 +0300 ---------------------------------------------------------------------- .../stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.3.xml | 10 ++++++++++ .../stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.4.xml | 10 ++++++++++ .../stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.5.xml | 10 ++++++++++ .../stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.6.xml | 10 ++++++++++ .../resources/stacks/HDP/2.3/upgrades/upgrade-2.3.xml | 10 ++++++++++ .../resources/stacks/HDP/2.3/upgrades/upgrade-2.4.xml | 10 ++++++++++ .../resources/stacks/HDP/2.3/upgrades/upgrade-2.5.xml | 10 ++++++++++ .../resources/stacks/HDP/2.3/upgrades/upgrade-2.6.xml | 10 ++++++++++ .../stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.4.xml | 10 ++++++++++ .../stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.5.xml | 10 ++++++++++ .../stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.6.xml | 10 ++++++++++ .../resources/stacks/HDP/2.4/upgrades/upgrade-2.4.xml | 10 ++++++++++ .../resources/stacks/HDP/2.4/upgrades/upgrade-2.5.xml | 10 ++++++++++ .../resources/stacks/HDP/2.4/upgrades/upgrade-2.6.xml | 10 ++++++++++ .../stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.5.xml | 10 ++++++++++ .../stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.6.xml | 10 ++++++++++ .../resources/stacks/HDP/2.5/upgrades/upgrade-2.5.xml | 10 ++++++++++ .../resources/stacks/HDP/2.5/upgrades/upgrade-2.6.xml | 10 ++++++++++ .../stacks/HDP/2.6/upgrades/nonrolling-upgrade-2.6.xml | 10 ++++++++++ .../resources/stacks/HDP/2.6/upgrades/upgrade-2.6.xml | 10 ++++++++++ .../stacks/PERF/1.0/upgrades/nonrolling-upgrade-2.0.xml | 10 ++++++++++ .../resources/stacks/PERF/1.0/upgrades/upgrade-2.0.xml | 10 ++++++++++ 22 files changed, 220 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/48af3ee8/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.3.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.3.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.3.xml index 28ca939..3d8041e 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.3.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.3.xml @@ -661,6 +661,16 @@ </task> </execute-stage> + <execute-stage service="HBASE" component="HBASE_MASTER" title="Delete HBase snapshots"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>You can now remove any HBase snapshots which were created at the beginning of the upgrade. To see existing snapshots, use the following HBase shell command:</message> + <message>hbase> list_snapshots</message> + <message>Once you have found an existing snapshot which you would like to remove, you can use the following command:</message> + <message>hbase> delete_snapshot 'snapshotName'</message> + </task> + </execute-stage> + <execute-stage service="HDFS" component="NAMENODE" title="Execute HDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script> http://git-wip-us.apache.org/repos/asf/ambari/blob/48af3ee8/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.4.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.4.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.4.xml index 9aff1a9..fa06291 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.4.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.4.xml @@ -806,6 +806,16 @@ </task> </execute-stage> + <execute-stage service="HBASE" component="HBASE_MASTER" title="Delete HBase snapshots"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>You can now remove any HBase snapshots which were created at the beginning of the upgrade. To see existing snapshots, use the following HBase shell command:</message> + <message>hbase> list_snapshots</message> + <message>Once you have found an existing snapshot which you would like to remove, you can use the following command:</message> + <message>hbase> delete_snapshot 'snapshotName'</message> + </task> + </execute-stage> + <execute-stage service="HDFS" component="NAMENODE" title="Execute HDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script> http://git-wip-us.apache.org/repos/asf/ambari/blob/48af3ee8/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.5.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.5.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.5.xml index 73a4f5e..8b8b9a6 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.5.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.5.xml @@ -958,6 +958,16 @@ </task> </execute-stage> + <execute-stage service="HBASE" component="HBASE_MASTER" title="Delete HBase snapshots"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>You can now remove any HBase snapshots which were created at the beginning of the upgrade. To see existing snapshots, use the following HBase shell command:</message> + <message>hbase> list_snapshots</message> + <message>Once you have found an existing snapshot which you would like to remove, you can use the following command:</message> + <message>hbase> delete_snapshot 'snapshotName'</message> + </task> + </execute-stage> + <execute-stage service="HDFS" component="NAMENODE" title="Execute HDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script> http://git-wip-us.apache.org/repos/asf/ambari/blob/48af3ee8/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.6.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.6.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.6.xml index 3a7df7d..2bf6e23 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.6.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.6.xml @@ -1056,6 +1056,16 @@ </task> </execute-stage> + <execute-stage service="HBASE" component="HBASE_MASTER" title="Delete HBase snapshots"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>You can now remove any HBase snapshots which were created at the beginning of the upgrade. To see existing snapshots, use the following HBase shell command:</message> + <message>hbase> list_snapshots</message> + <message>Once you have found an existing snapshot which you would like to remove, you can use the following command:</message> + <message>hbase> delete_snapshot 'snapshotName'</message> + </task> + </execute-stage> + <execute-stage service="HDFS" component="NAMENODE" title="Execute HDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script> http://git-wip-us.apache.org/repos/asf/ambari/blob/48af3ee8/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.3.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.3.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.3.xml index 89b5126..1340b22 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.3.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.3.xml @@ -410,6 +410,16 @@ </task> </execute-stage> + <execute-stage service="HBASE" component="HBASE_MASTER" title="Delete HBase snapshots"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>You can now remove any HBase snapshots which were created at the beginning of the upgrade. To see existing snapshots, use the following HBase shell command:</message> + <message>hbase> list_snapshots</message> + <message>Once you have found an existing snapshot which you would like to remove, you can use the following command:</message> + <message>hbase> delete_snapshot 'snapshotName'</message> + </task> + </execute-stage> + <execute-stage service="HDFS" component="NAMENODE" title="Execute HDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script> http://git-wip-us.apache.org/repos/asf/ambari/blob/48af3ee8/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.4.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.4.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.4.xml index 4e897a0..40afc4f 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.4.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.4.xml @@ -454,6 +454,16 @@ </task> </execute-stage> + <execute-stage service="HBASE" component="HBASE_MASTER" title="Delete HBase snapshots"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>You can now remove any HBase snapshots which were created at the beginning of the upgrade. To see existing snapshots, use the following HBase shell command:</message> + <message>hbase> list_snapshots</message> + <message>Once you have found an existing snapshot which you would like to remove, you can use the following command:</message> + <message>hbase> delete_snapshot 'snapshotName'</message> + </task> + </execute-stage> + <execute-stage service="HDFS" component="NAMENODE" title="Execute HDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script> http://git-wip-us.apache.org/repos/asf/ambari/blob/48af3ee8/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.5.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.5.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.5.xml index ca612b8..e0882d8 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.5.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.5.xml @@ -540,6 +540,16 @@ </task> </execute-stage> + <execute-stage service="HBASE" component="HBASE_MASTER" title="Delete HBase snapshots"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>You can now remove any HBase snapshots which were created at the beginning of the upgrade. To see existing snapshots, use the following HBase shell command:</message> + <message>hbase> list_snapshots</message> + <message>Once you have found an existing snapshot which you would like to remove, you can use the following command:</message> + <message>hbase> delete_snapshot 'snapshotName'</message> + </task> + </execute-stage> + <execute-stage service="HDFS" component="NAMENODE" title="Execute HDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script> http://git-wip-us.apache.org/repos/asf/ambari/blob/48af3ee8/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.6.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.6.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.6.xml index 1fbf81e..0f4efdc 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.6.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.6.xml @@ -542,6 +542,16 @@ </task> </execute-stage> + <execute-stage service="HBASE" component="HBASE_MASTER" title="Delete HBase snapshots"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>You can now remove any HBase snapshots which were created at the beginning of the upgrade. To see existing snapshots, use the following HBase shell command:</message> + <message>hbase> list_snapshots</message> + <message>Once you have found an existing snapshot which you would like to remove, you can use the following command:</message> + <message>hbase> delete_snapshot 'snapshotName'</message> + </task> + </execute-stage> + <execute-stage service="HDFS" component="NAMENODE" title="Execute HDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script> http://git-wip-us.apache.org/repos/asf/ambari/blob/48af3ee8/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.4.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.4.xml b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.4.xml index 3c0104b..13f44fb 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.4.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.4.xml @@ -652,6 +652,16 @@ </task> </execute-stage> + <execute-stage service="HBASE" component="HBASE_MASTER" title="Delete HBase snapshots"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>You can now remove any HBase snapshots which were created at the beginning of the upgrade. To see existing snapshots, use the following HBase shell command:</message> + <message>hbase> list_snapshots</message> + <message>Once you have found an existing snapshot which you would like to remove, you can use the following command:</message> + <message>hbase> delete_snapshot 'snapshotName'</message> + </task> + </execute-stage> + <execute-stage service="HDFS" component="NAMENODE" title="Execute HDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script> http://git-wip-us.apache.org/repos/asf/ambari/blob/48af3ee8/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.5.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.5.xml b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.5.xml index bb6506e..ea261b9 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.5.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.5.xml @@ -919,6 +919,16 @@ </task> </execute-stage> + <execute-stage service="HBASE" component="HBASE_MASTER" title="Delete HBase snapshots"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>You can now remove any HBase snapshots which were created at the beginning of the upgrade. To see existing snapshots, use the following HBase shell command:</message> + <message>hbase> list_snapshots</message> + <message>Once you have found an existing snapshot which you would like to remove, you can use the following command:</message> + <message>hbase> delete_snapshot 'snapshotName'</message> + </task> + </execute-stage> + <execute-stage service="HDFS" component="NAMENODE" title="Execute HDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script> http://git-wip-us.apache.org/repos/asf/ambari/blob/48af3ee8/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.6.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.6.xml b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.6.xml index c6c3a0d..de6b8ef 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.6.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.6.xml @@ -1014,6 +1014,16 @@ </task> </execute-stage> + <execute-stage service="HBASE" component="HBASE_MASTER" title="Delete HBase snapshots"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>You can now remove any HBase snapshots which were created at the beginning of the upgrade. To see existing snapshots, use the following HBase shell command:</message> + <message>hbase> list_snapshots</message> + <message>Once you have found an existing snapshot which you would like to remove, you can use the following command:</message> + <message>hbase> delete_snapshot 'snapshotName'</message> + </task> + </execute-stage> + <execute-stage service="HDFS" component="NAMENODE" title="Execute HDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script> http://git-wip-us.apache.org/repos/asf/ambari/blob/48af3ee8/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.4.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.4.xml b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.4.xml index 10f07f9..d5e9a5b 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.4.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.4.xml @@ -406,6 +406,16 @@ </task> </execute-stage> + <execute-stage service="HBASE" component="HBASE_MASTER" title="Delete HBase snapshots"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>You can now remove any HBase snapshots which were created at the beginning of the upgrade. To see existing snapshots, use the following HBase shell command:</message> + <message>hbase> list_snapshots</message> + <message>Once you have found an existing snapshot which you would like to remove, you can use the following command:</message> + <message>hbase> delete_snapshot 'snapshotName'</message> + </task> + </execute-stage> + <execute-stage service="HDFS" component="NAMENODE" title="Execute HDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script> http://git-wip-us.apache.org/repos/asf/ambari/blob/48af3ee8/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.5.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.5.xml b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.5.xml index 4654ac8..350395c 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.5.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.5.xml @@ -525,6 +525,16 @@ </task> </execute-stage> + <execute-stage service="HBASE" component="HBASE_MASTER" title="Delete HBase snapshots"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>You can now remove any HBase snapshots which were created at the beginning of the upgrade. To see existing snapshots, use the following HBase shell command:</message> + <message>hbase> list_snapshots</message> + <message>Once you have found an existing snapshot which you would like to remove, you can use the following command:</message> + <message>hbase> delete_snapshot 'snapshotName'</message> + </task> + </execute-stage> + <execute-stage service="HDFS" component="NAMENODE" title="Execute HDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script> http://git-wip-us.apache.org/repos/asf/ambari/blob/48af3ee8/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.6.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.6.xml b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.6.xml index ec7d8b8..9ac3d52 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.6.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.6.xml @@ -531,6 +531,16 @@ </task> </execute-stage> + <execute-stage service="HBASE" component="HBASE_MASTER" title="Delete HBase snapshots"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>You can now remove any HBase snapshots which were created at the beginning of the upgrade. To see existing snapshots, use the following HBase shell command:</message> + <message>hbase> list_snapshots</message> + <message>Once you have found an existing snapshot which you would like to remove, you can use the following command:</message> + <message>hbase> delete_snapshot 'snapshotName'</message> + </task> + </execute-stage> + <execute-stage service="HDFS" component="NAMENODE" title="Execute HDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script> http://git-wip-us.apache.org/repos/asf/ambari/blob/48af3ee8/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.5.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.5.xml b/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.5.xml index 95ca3a2..0f05089 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.5.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.5.xml @@ -741,6 +741,16 @@ </task> </execute-stage> + <execute-stage service="HBASE" component="HBASE_MASTER" title="Delete HBase snapshots"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>You can now remove any HBase snapshots which were created at the beginning of the upgrade. To see existing snapshots, use the following HBase shell command:</message> + <message>hbase> list_snapshots</message> + <message>Once you have found an existing snapshot which you would like to remove, you can use the following command:</message> + <message>hbase> delete_snapshot 'snapshotName'</message> + </task> + </execute-stage> + <execute-stage service="HDFS" component="NAMENODE" title="Execute HDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script> http://git-wip-us.apache.org/repos/asf/ambari/blob/48af3ee8/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.6.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.6.xml b/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.6.xml index 05ecb2c..a6bc4fc 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.6.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.6.xml @@ -1047,6 +1047,16 @@ </task> </execute-stage> + <execute-stage service="HBASE" component="HBASE_MASTER" title="Delete HBase snapshots"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>You can now remove any HBase snapshots which were created at the beginning of the upgrade. To see existing snapshots, use the following HBase shell command:</message> + <message>hbase> list_snapshots</message> + <message>Once you have found an existing snapshot which you would like to remove, you can use the following command:</message> + <message>hbase> delete_snapshot 'snapshotName'</message> + </task> + </execute-stage> + <execute-stage service="HDFS" component="NAMENODE" title="Execute HDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script> http://git-wip-us.apache.org/repos/asf/ambari/blob/48af3ee8/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.5.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.5.xml b/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.5.xml index 37f92fd..04a06e8 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.5.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.5.xml @@ -450,6 +450,16 @@ </task> </execute-stage> + <execute-stage service="HBASE" component="HBASE_MASTER" title="Delete HBase snapshots"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>You can now remove any HBase snapshots which were created at the beginning of the upgrade. To see existing snapshots, use the following HBase shell command:</message> + <message>hbase> list_snapshots</message> + <message>Once you have found an existing snapshot which you would like to remove, you can use the following command:</message> + <message>hbase> delete_snapshot 'snapshotName'</message> + </task> + </execute-stage> + <execute-stage service="HDFS" component="NAMENODE" title="Execute HDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script> http://git-wip-us.apache.org/repos/asf/ambari/blob/48af3ee8/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.6.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.6.xml b/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.6.xml index 0dab6f4..879fe0f 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.6.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.6.xml @@ -461,6 +461,16 @@ </task> </execute-stage> + <execute-stage service="HBASE" component="HBASE_MASTER" title="Delete HBase snapshots"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>You can now remove any HBase snapshots which were created at the beginning of the upgrade. To see existing snapshots, use the following HBase shell command:</message> + <message>hbase> list_snapshots</message> + <message>Once you have found an existing snapshot which you would like to remove, you can use the following command:</message> + <message>hbase> delete_snapshot 'snapshotName'</message> + </task> + </execute-stage> + <execute-stage service="HDFS" component="NAMENODE" title="Execute HDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script> http://git-wip-us.apache.org/repos/asf/ambari/blob/48af3ee8/ambari-server/src/main/resources/stacks/HDP/2.6/upgrades/nonrolling-upgrade-2.6.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.6/upgrades/nonrolling-upgrade-2.6.xml b/ambari-server/src/main/resources/stacks/HDP/2.6/upgrades/nonrolling-upgrade-2.6.xml index 4a641ec..68c58c0 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.6/upgrades/nonrolling-upgrade-2.6.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.6/upgrades/nonrolling-upgrade-2.6.xml @@ -743,6 +743,16 @@ </task> </execute-stage> + <execute-stage service="HBASE" component="HBASE_MASTER" title="Delete HBase snapshots"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>You can now remove any HBase snapshots which were created at the beginning of the upgrade. To see existing snapshots, use the following HBase shell command:</message> + <message>hbase> list_snapshots</message> + <message>Once you have found an existing snapshot which you would like to remove, you can use the following command:</message> + <message>hbase> delete_snapshot 'snapshotName'</message> + </task> + </execute-stage> + <execute-stage service="HDFS" component="NAMENODE" title="Execute HDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script> http://git-wip-us.apache.org/repos/asf/ambari/blob/48af3ee8/ambari-server/src/main/resources/stacks/HDP/2.6/upgrades/upgrade-2.6.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.6/upgrades/upgrade-2.6.xml b/ambari-server/src/main/resources/stacks/HDP/2.6/upgrades/upgrade-2.6.xml index 0587741..01f11e4 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.6/upgrades/upgrade-2.6.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.6/upgrades/upgrade-2.6.xml @@ -477,6 +477,16 @@ </task> </execute-stage> + <execute-stage service="HBASE" component="HBASE_MASTER" title="Delete HBase snapshots"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>You can now remove any HBase snapshots which were created at the beginning of the upgrade. To see existing snapshots, use the following HBase shell command:</message> + <message>hbase> list_snapshots</message> + <message>Once you have found an existing snapshot which you would like to remove, you can use the following command:</message> + <message>hbase> delete_snapshot 'snapshotName'</message> + </task> + </execute-stage> + <execute-stage service="HDFS" component="NAMENODE" title="Execute HDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script> http://git-wip-us.apache.org/repos/asf/ambari/blob/48af3ee8/ambari-server/src/main/resources/stacks/PERF/1.0/upgrades/nonrolling-upgrade-2.0.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/PERF/1.0/upgrades/nonrolling-upgrade-2.0.xml b/ambari-server/src/main/resources/stacks/PERF/1.0/upgrades/nonrolling-upgrade-2.0.xml index 2626bc3..7078a6e 100644 --- a/ambari-server/src/main/resources/stacks/PERF/1.0/upgrades/nonrolling-upgrade-2.0.xml +++ b/ambari-server/src/main/resources/stacks/PERF/1.0/upgrades/nonrolling-upgrade-2.0.xml @@ -286,6 +286,16 @@ </task> </execute-stage> + <execute-stage service="FAKEHBASE" component="FAKEHBASE_MASTER" title="Delete FAKEHBase snapshots"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>You can now remove any FAKEHBASE snapshots which were created at the beginning of the upgrade. To see existing snapshots, use the following FAKEHBASE shell command:</message> + <message>hbase> list_snapshots</message> + <message>Once you have found an existing snapshot which you would like to remove, you can use the following command:</message> + <message>hbase> delete_snapshot 'snapshotName'</message> + </task> + </execute-stage> + <execute-stage service="FAKEHDFS" component="FAKENAMENODE" title="Execute FAKEHDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script> http://git-wip-us.apache.org/repos/asf/ambari/blob/48af3ee8/ambari-server/src/main/resources/stacks/PERF/1.0/upgrades/upgrade-2.0.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/PERF/1.0/upgrades/upgrade-2.0.xml b/ambari-server/src/main/resources/stacks/PERF/1.0/upgrades/upgrade-2.0.xml index 99746d6..9c9cebb 100644 --- a/ambari-server/src/main/resources/stacks/PERF/1.0/upgrades/upgrade-2.0.xml +++ b/ambari-server/src/main/resources/stacks/PERF/1.0/upgrades/upgrade-2.0.xml @@ -172,6 +172,16 @@ </task> </execute-stage> + <execute-stage service="FAKEHBASE" component="FAKEHBASE_MASTER" title="Delete FAKEHBase snapshots"> + <direction>UPGRADE</direction> + <task xsi:type="manual"> + <message>You can now remove any FAKEHBASE snapshots which were created at the beginning of the upgrade. To see existing snapshots, use the following FAKEHBASE shell command:</message> + <message>hbase> list_snapshots</message> + <message>Once you have found an existing snapshot which you would like to remove, you can use the following command:</message> + <message>hbase> delete_snapshot 'snapshotName'</message> + </task> + </execute-stage> + <execute-stage service="FAKEHDFS" component="FAKENAMENODE" title="Execute FAKEHDFS Finalize"> <task xsi:type="execute" hosts="master"> <script>scripts/namenode.py</script>
